pe_factory_unit |
Creates the specified unit object.
PE_UNIT pe_factory_unit (int code);
code | The code of the predefined unit object |
Creates the predefined unit object with the specified code.
On success, the new unit object. On failure, a null pointer.
PE_UNIT meter = pe_factory_unit(PE_U_METER);