Uncrustify 0.67 (#266)
* fix indentation to comply with uncrusity 0.67 * fix spacing to comply with uncrusity 0.67
This commit is contained in:
parent
9a9762f175
commit
16159adfc2
3 changed files with 5 additions and 5 deletions
|
@ -53,7 +53,7 @@ rcl_get_topic_names_and_types(
|
||||||
&rcutils_allocator,
|
&rcutils_allocator,
|
||||||
no_demangle,
|
no_demangle,
|
||||||
topic_names_and_types
|
topic_names_and_types
|
||||||
);
|
);
|
||||||
return rcl_convert_rmw_ret_to_rcl_ret(rmw_ret);
|
return rcl_convert_rmw_ret_to_rcl_ret(rmw_ret);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -78,7 +78,7 @@ rcl_get_service_names_and_types(
|
||||||
rcl_node_get_rmw_handle(node),
|
rcl_node_get_rmw_handle(node),
|
||||||
&rcutils_allocator,
|
&rcutils_allocator,
|
||||||
service_names_and_types
|
service_names_and_types
|
||||||
);
|
);
|
||||||
return rcl_convert_rmw_ret_to_rcl_ret(rmw_ret);
|
return rcl_convert_rmw_ret_to_rcl_ret(rmw_ret);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -176,7 +176,7 @@ rcl_service_server_is_available(
|
||||||
rcl_node_get_rmw_handle(node),
|
rcl_node_get_rmw_handle(node),
|
||||||
rcl_client_get_rmw_handle(client),
|
rcl_client_get_rmw_handle(client),
|
||||||
is_available
|
is_available
|
||||||
);
|
);
|
||||||
return rcl_convert_rmw_ret_to_rcl_ret(rmw_ret);
|
return rcl_convert_rmw_ret_to_rcl_ret(rmw_ret);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -38,7 +38,7 @@ extern "C"
|
||||||
#pragma section(".CRT$XCU", read)
|
#pragma section(".CRT$XCU", read)
|
||||||
#define INITIALIZER2_(f, p) \
|
#define INITIALIZER2_(f, p) \
|
||||||
static void f(void); \
|
static void f(void); \
|
||||||
__declspec(allocate(".CRT$XCU")) void (*f ## _)(void) = f; \
|
__declspec(allocate(".CRT$XCU")) void(*f ## _)(void) = f; \
|
||||||
__pragma(comment(linker, "/include:" p #f "_")) \
|
__pragma(comment(linker, "/include:" p #f "_")) \
|
||||||
static void f(void)
|
static void f(void)
|
||||||
#ifdef _WIN64
|
#ifdef _WIN64
|
||||||
|
|
|
@ -304,7 +304,7 @@ rcl_wait_set_get_allocator(const rcl_wait_set_t * wait_set, rcl_allocator_t * al
|
||||||
} \
|
} \
|
||||||
ExtraDealloc \
|
ExtraDealloc \
|
||||||
} else { \
|
} else { \
|
||||||
wait_set->Type ## s = (const rcl_ ## Type ## _t * *)allocator.reallocate( \
|
wait_set->Type ## s = (const rcl_ ## Type ## _t **)allocator.reallocate( \
|
||||||
(void *)wait_set->Type ## s, sizeof(rcl_ ## Type ## _t *) * size, allocator.state); \
|
(void *)wait_set->Type ## s, sizeof(rcl_ ## Type ## _t *) * size, allocator.state); \
|
||||||
RCL_CHECK_FOR_NULL_WITH_MSG( \
|
RCL_CHECK_FOR_NULL_WITH_MSG( \
|
||||||
wait_set->Type ## s, "allocating memory failed", \
|
wait_set->Type ## s, "allocating memory failed", \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue