ecs_set_name_prefix

Function ecs_set_name_prefix 

Source
pub unsafe extern "C" fn ecs_set_name_prefix(
    world: *mut ecs_world_t,
    prefix: *const i8,
) -> *const i8
Expand description

Set a name prefix for newly created entities. This is a utility that lets C modules use prefixed names for C types and C functions, while using names for the entity names that do not have the prefix. The name prefix is currently only used by ECS_COMPONENT.

@param world The world. @param prefix The name prefix to use. @return The previous prefix.