![]() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
![]() ![]() |
![]() [Introduction] [Overview] [Core reference] [3D reference] [GUI] IndexEMemDbg_ObjectsPrint EClass_CheckAllResources EObject_NumOfReferences EObject_SetName ELst_ObjectRemoveA ELst_ObjectsSort_s EScriptFunction_Call EMemDbg_ObjectsPrintPrint unfreed ObjectsSyntax Arguments None. Description Prints information about currently created Objects, when: - EObjectMEMORY_DEBUG is defined - the code has debug information (debug build) This function shows what Objects are created from where (source file + line number) and where those Objects are being referenced (source files + line numbers). Return value None. See also EClass_CheckAllResourcesCollect all Resources of a ClassSyntax Arguments Description Collect all Resources of a Class, including those in its superclasses into a single array and store them in PClass->AllResources. Return value None. EObject_NumOfReferencesGet true number of references to an Object from the garbage-collectorSyntax Argument Description If the garbage-collector is not enabled, it returns -1. Return value None. See also EObject_SetNameSet the name of an ObjectSyntax Arguments Description This function will update the name of the Object and update the reference-tracking system as well (when enabled). PName must be a copy created by EStrDup etc., as it is not copied here. Return value None. ELst_ObjectRemoveARemove a Object pointer from a dynamically allocated arraySyntax Arguments Description This function looks for the given pointer in the array. If it finds that, it removes it by possibly reallocating the memory for the array and updating PPointers_CountP and PPointers_CountAllocatedP. The number of pointers allocated may be different from the number of pointers in use (to minimize reallocation and copying). Return value Pointer to the new array and PPointers_CountP PPointers_CountAllocatedP ELst_ObjectsSort_sSort a list of Objects with qsort, taking care of reference trackingSyntax Arguments Description Sorts the items in a list (.Items member) with qsort. If Object reference tracking is enabled, it also updates reference addresses. Return value None. See also EScriptFunction_CallCall an EScriptFunction with a vararg parameter list.Syntax Arguments Description Calls a ScriptFunction's implementation (C/C++ etc.) function with a variable-length parameter list, made of name / value pairs and terminated with a NULL. Return value The value returned by the implementation, or E_NOT_IMPLEMENTED if PScriptFunction->Func is NULL |