From 5de968e80ade1c02d1907834dcff95e9fc9ad10a Mon Sep 17 00:00:00 2001 From: Jakub Hrozek Date: Thu, 15 May 2014 23:11:54 +0200 Subject: SBUS: Return / if an object path getter returns NULL MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Stef Walter Reviewed-by: Pavel Březina --- src/tests/sbus_codegen_tests_generated.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/tests/sbus_codegen_tests_generated.h') diff --git a/src/tests/sbus_codegen_tests_generated.h b/src/tests/sbus_codegen_tests_generated.h index 7dc817edf..e6fb10c5e 100644 --- a/src/tests/sbus_codegen_tests_generated.h +++ b/src/tests/sbus_codegen_tests_generated.h @@ -36,6 +36,7 @@ #define TEST_PILOT_STRING "string" #define TEST_PILOT_OBJECT_PATH "object_path" #define TEST_PILOT_NULL_STRING "null_string" +#define TEST_PILOT_NULL_PATH "null_path" #define TEST_PILOT_BYTE_ARRAY "byte_array" #define TEST_PILOT_INT16_ARRAY "int16_array" #define TEST_PILOT_UINT16_ARRAY "uint16_array" @@ -98,6 +99,7 @@ struct test_pilot { void (*test_pilot_get_string)(struct sbus_request *, void *data, const char * *); void (*test_pilot_get_object_path)(struct sbus_request *, void *data, const char * *); void (*test_pilot_get_null_string)(struct sbus_request *, void *data, const char * *); + void (*test_pilot_get_null_path)(struct sbus_request *, void *data, const char * *); void (*test_pilot_get_byte_array)(struct sbus_request *, void *data, uint8_t * *, int *); void (*test_pilot_get_int16_array)(struct sbus_request *, void *data, int16_t * *, int *); void (*test_pilot_get_uint16_array)(struct sbus_request *, void *data, uint16_t * *, int *); -- cgit