diff options
author | Mattias Andrée <maandree@kth.se> | 2023-01-23 20:34:03 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2023-01-23 20:34:03 +0100 |
commit | b6bb688199abc342a6e85f80859c8cbb5a41b58a (patch) | |
tree | 46d953c3689f5f75210c7667c3a4f1c4d1386aab /libglitter_free_render_context.c | |
parent | Add libglitter_reorder_rasters (diff) | |
download | libglitter-b6bb688199abc342a6e85f80859c8cbb5a41b58a.tar.gz libglitter-b6bb688199abc342a6e85f80859c8cbb5a41b58a.tar.bz2 libglitter-b6bb688199abc342a6e85f80859c8cbb5a41b58a.tar.xz |
Add some tests
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'libglitter_free_render_context.c')
-rw-r--r-- | libglitter_free_render_context.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/libglitter_free_render_context.c b/libglitter_free_render_context.c index 4eb15c2..05f27eb 100644 --- a/libglitter_free_render_context.c +++ b/libglitter_free_render_context.c @@ -1,5 +1,6 @@ /* See LICENSE file for copyright and license details. */ #include "common.h" +#ifndef TEST void @@ -11,3 +12,17 @@ libglitter_free_render_context(LIBGLITTER_RENDER_CONTEXT *this) free(this); } } + + +#else + + +int +main(void) +{ + libglitter_free_render_context(NULL); + return 0; +} + + +#endif |