|
The mi_collection_create() function creates a collection.
The mi_collection_create() function creates a new collection structure whose element type is the data type that the typeid_ptr type identifier references. This function is a constructor function for the collection structure. To access elements of the collection, you must first open the collection with the mi_collection_open() function.
The mi_collection_create() function allocates a new collection structure in the current memory duration.
MI_COLLECTION * | is a pointer to the newly created collection. |
NULL | indicates that the function was not successful. |
See the descriptions of the following functions: mi_collection_close(), mi_collection_copy(), mi_collection_delete(), mi_collection_fetch(), mi_collection_free(), mi_collection_insert(), mi_collection_open(), mi_collection_update(), mi_typestring_to_id(), and mi_typename_to_id().
For a description of collections, see Collections.