From 3cafbf3cfe5c58a6988dbfc4c29148ebb804f5c2 Mon Sep 17 00:00:00 2001 From: dimitri staessens Date: Fri, 21 Oct 2016 20:13:41 +0200 Subject: build: Compile with strict conversion This has the code checked with -Wcast-qual and -Wconversion flags. These flags were removed because SWIG generated code fails. --- include/ouroboros/bitmap.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'include/ouroboros/bitmap.h') diff --git a/include/ouroboros/bitmap.h b/include/ouroboros/bitmap.h index c109f3e8..a8d03759 100644 --- a/include/ouroboros/bitmap.h +++ b/include/ouroboros/bitmap.h @@ -30,12 +30,17 @@ struct bmp; -struct bmp * bmp_create(size_t bits, ssize_t offset); +struct bmp * bmp_create(size_t bits, + ssize_t offset); + int bmp_destroy(struct bmp * b); ssize_t bmp_allocate(struct bmp * instance); + int bmp_release(struct bmp * instance, ssize_t id); -bool bmp_is_id_valid(struct bmp * b, ssize_t id); + +bool bmp_is_id_valid(struct bmp * b, + ssize_t id); #endif -- cgit v1.2.3