Create a new Typedef of another type.
- Resource Management:
- This function allocates resources that must later be freed by calling DOFType_Destroy.
- Parameters
-
type | The actual type to which this reference refers. If not NULL, this should be a defined type and should not be nullable. If NULL, a forward reference is created. Forward references must later be defined via DOFTypeTypedef_DefineAs. |
- Returns
- The new DOFType, or NULL if it could not be created.
- Exceptions
-
NULL | is returned if an invalid parameter is detected or insufficient resources exist to create the type. |