GATE
|
GATE type ID specifications. More...
Typedefs | |
typedef char const * | gate_type_sig_t |
Functions | |
GATE_CORE_API gate_size_t | gate_type_length (gate_type_id_t value_type_id) |
Returns the byte size of a native GATE type. | |
GATE_CORE_API gate_size_t | gate_type_aligned_length (gate_type_id_t value_type_id) |
Returns the byte size of a native GATE type with default system alignment padding. | |
GATE_CORE_API gate_result_t | gate_type_init (gate_type_id_t value_type_id, void *ptr_value) |
Initializes a native GATE type with its default value. | |
GATE_CORE_API gate_result_t | gate_type_copy (gate_type_id_t value_type_id, void *ptr_dst, void const *ptr_src) |
Copies the contents of a native GATE type from a source to a destination value. | |
GATE_CORE_API gate_result_t | gate_type_release (gate_type_id_t value_type_id, void *ptr_value) |
Releases all resources of a data type. | |
GATE_CORE_API gate_type_sig_t | gate_type_signature (gate_type_id_t value_type_id) |
Returns a text signature of the given native type-id. | |
GATE_CORE_API gate_bool_t | gate_type_signature_equals (gate_type_sig_t sig1, gate_type_sig_t sig2) |
Evaluates if two GATE type signatures are equal. | |
GATE type ID specifications.
typedef char const* gate_type_sig_t |
native GATE type signature
GATE_CORE_API gate_size_t gate_type_length | ( | gate_type_id_t | value_type_id | ) |
Returns the byte size of a native GATE type.
value_type_id | GATE native type-identifier |
GATE_CORE_API gate_size_t gate_type_aligned_length | ( | gate_type_id_t | value_type_id | ) |
Returns the byte size of a native GATE type with default system alignment padding.
value_type_id | GATE native type-identifier |
GATE_CORE_API gate_result_t gate_type_init | ( | gate_type_id_t | value_type_id, |
void * | ptr_value ) |
Initializes a native GATE type with its default value.
value_type_id | GATE native type-identifier |
ptr_value | pointer to native type |
GATE_CORE_API gate_result_t gate_type_copy | ( | gate_type_id_t | value_type_id, |
void * | ptr_dst, | ||
void const * | ptr_src ) |
Copies the contents of a native GATE type from a source to a destination value.
value_type_id | GATE native type-identifier |
ptr_dst | pointer to destination native type |
ptr_src | pointer to source native type |
GATE_CORE_API gate_result_t gate_type_release | ( | gate_type_id_t | value_type_id, |
void * | ptr_value ) |
Releases all resources of a data type.
[in] | value_type_id | GATE native type-identifier |
[in] | ptr_value | pointer to native type |
GATE_CORE_API gate_type_sig_t gate_type_signature | ( | gate_type_id_t | value_type_id | ) |
Returns a text signature of the given native type-id.
value_type_id | GATE native type-identifier |
GATE_CORE_API gate_bool_t gate_type_signature_equals | ( | gate_type_sig_t | sig1, |
gate_type_sig_t | sig2 ) |
Evaluates if two GATE type signatures are equal.
[in] | sig1 | GATE native type-identifier to be compared |
[in] | sig2 | other GATE native type-identifier to be compared |