Skip to main content

reb_simulation_register_name

Function reb_simulation_register_name 

Source
pub unsafe extern "C" fn reb_simulation_register_name(
    r: *mut reb_simulation,
    name: *const c_char,
) -> *const c_char
Expand description

Register a string. This copies the string, returns the new pointer. REBOUND will manage the memory of the copy. Used by REBOUNDx.