There are two different directories.
sparse/src/stk/dmg_apiutil
and
sparse/src/stk/dmg_meta_doc
Inside these two directories there are lot of C++ files.
I have written a function:
void cFreeMemory( char* entityName, void* ptrStruct )
{
// Check if the Pointers are NULL
if( ptrStruct != NULL && sGetEntityByNam e( entityName ) != NULL )
{
sEntityFree( sGetEntityByNam e( entityName ),
( void** )&ptrStruct,
sYES );
}
}
How I could access this function inside every file in the two directories? I mean where and how I need to declare this function so that I can access from every file inside the mentioned two directories.
Thanks in advance.
sparse/src/stk/dmg_apiutil
and
sparse/src/stk/dmg_meta_doc
Inside these two directories there are lot of C++ files.
I have written a function:
void cFreeMemory( char* entityName, void* ptrStruct )
{
// Check if the Pointers are NULL
if( ptrStruct != NULL && sGetEntityByNam e( entityName ) != NULL )
{
sEntityFree( sGetEntityByNam e( entityName ),
( void** )&ptrStruct,
sYES );
}
}
How I could access this function inside every file in the two directories? I mean where and how I need to declare this function so that I can access from every file inside the mentioned two directories.
Thanks in advance.
Comment