Function rosidl_runtime_c__type_description__IndividualTypeDescription__init
Function Documentation
-
bool rosidl_runtime_c__type_description__IndividualTypeDescription__init(rosidl_runtime_c__type_description__IndividualTypeDescription *msg)
Initialize msg/IndividualTypeDescription message.
If the init function is called twice for the same message without calling fini inbetween previously allocated memory will be leaked.
- Parameters:
msg – [inout] The previously allocated message pointer. Fields without a default value will not be initialized by this function. You might want to call memset(msg, 0, sizeof( rosidl_runtime_c__type_description__IndividualTypeDescription )) before or use rosidl_runtime_c__type_description__IndividualTypeDescription__create() to allocate and initialize the message.
- Returns:
true if initialization was successful, otherwise false