diff options
author | 2023-05-30 17:36:49 +0200 | |
---|---|---|
committer | 2023-05-30 17:36:49 +0200 | |
commit | 572b08b10845b232687a22bb454a417ce73d3b36 (patch) | |
tree | 62575837181fba8430950c4c1781d2f7d7e81163 | |
parent | 4f99c4289fb46e06c0ff305d12276cfc9fb5cf9c (diff) | |
download | cherry-572b08b10845b232687a22bb454a417ce73d3b36.tar.gz cherry-572b08b10845b232687a22bb454a417ce73d3b36.zip |
Remove src/dimension.c
-rw-r--r-- | src/dimension.c | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/src/dimension.c b/src/dimension.c deleted file mode 100644 index aa273e8..0000000 --- a/src/dimension.c +++ /dev/null @@ -1,28 +0,0 @@ -/* See LICENSE file for copyright and license details. */ - -#include <stdlib.h> -#include "dimension.h" - -CherryDimension * -cherry_dimension_new(void) -{ - CherryDimension *dim = malloc(sizeof(*dim)); - if (dim == NULL) return NULL; - - cherry_dimension_set_width(dim, 0); - cherry_dimension_set_height(dim, 0); - - return dim; -} - -void -cherry_dimension_set_width(CherryDimension *d, int width) -{ - d->width = width; -} - -void -cherry_dimension_set_height(CherryDimension *d, int height) -{ - d->height = height; -} |