From 62d240ce22e71fb4b681e6aee58194194d3e8e76 Mon Sep 17 00:00:00 2001 From: retropikzel Date: Thu, 15 May 2025 21:32:08 +0300 Subject: [PATCH] Remaking the Jenkinsfile --- tests/c-include/libtest.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 tests/c-include/libtest.h diff --git a/tests/c-include/libtest.h b/tests/c-include/libtest.h new file mode 100644 index 0000000..7ee45eb --- /dev/null +++ b/tests/c-include/libtest.h @@ -0,0 +1,18 @@ +void print_string_pointer(char* p); +void print_offsets(); +void check_offset(int member_index, int offset); +struct test* init_struct(struct test* test); +struct color { + int8_t r; + int8_t g; + int8_t b; + int8_t a; +}; +int color_check(struct color* test); +int color_check_by_value(struct color color); +int test_check(struct test* test); +int test_check_by_value(struct test test); +struct test* test_new(); +void takes_no_args(); +int takes_no_args_returns_int(); +int test_passing_pointer_address(int* p1, int** p2);