| ||||||||||
Reference/es_mb_newSyntaxint es_mb_new( struct es_mbd *definition, struct es_mb **res ); Arguments
Return Codes
DescriptionConstructs a new in-memory, in-process database with respect to a provided database definition, or schema. An empty node for each root class in the definition - i.e. a class that does not have a parent - is also constructed. Databases constructed by es_mb_new must be subsequently destroyed by a call to es_mb_delete. es_mb_new may fail if the supplied database definition is invalid or if either the system is out of resources or if a software license has not been initialized via a call to es_init, in which case the process will abort with an error message to stderr. | ||||||||||
Copyright © 2012 by Richard Brooks |