|
#define | AFW_DATA_TYPE_EQUAL(A_DATATYPE_1_, A_DATATYPE_2_) ((A_DATATYPE_1_) == (A_DATATYPE_2_)) |
|
#define | AFW_DATA_TYPE_ASSERT_EQUAL(A_DATATYPE_1_, A_DATATYPE_2_, A_SCOPE) |
|
Common to all Adaptive Framework applications
◆ AFW_DATA_TYPE_ASSERT_EQUAL
#define AFW_DATA_TYPE_ASSERT_EQUAL |
( |
|
A_DATATYPE_1_, |
|
|
|
A_DATATYPE_2_, |
|
|
|
A_SCOPE |
|
) |
| |
Value:if (!AFW_DATA_TYPE_EQUAL(A_DATATYPE_1_,A_DATATYPE_2_)) { \
AFW_THROW_ERROR_Z(cast_error, "Type safe exception.", A_SCOPE); \
}
Definition at line 42 of file afw_data_type.h.
◆ afw_data_type_object_create_clone_to_managed_object()
Clone an object to a managed object.
- Parameters
-
object | to clone. |
p | used for cloned object. |
xctx | of caller. |
- Returns
- cloned object.
This will use afw_object_create_managed() to create the cloned object.
Definition at line 1520 of file afw_data_type.c.