17 #if !defined(OPENNURBS_WORKSPACE_INC_)
18 #define OPENNURBS_WORKSPACE_INC_
84 void* GetMemory( std::size_t sz );
107 int* GetIntMemory( std::size_t count );
124 int** GetIntMemory( std::size_t row_count, std::size_t col_count );
147 double* GetDoubleMemory( std::size_t count );
164 double** GetDoubleMemory( std::size_t row_count, std::size_t col_count );
187 ON_3dPoint* GetPointMemory( std::size_t count );
240 void* GrowMemory(
void* ptr, std::size_t sz );
265 int* GrowIntMemory(
int* ptr, std::size_t count );
290 double* GrowDoubleMemory(
double* ptr, std::size_t count );
362 ON_BOOL32 KeepMemory(
void* ptr );
377 void KeepAllMemory();
396 const char* filename,
417 const wchar_t* filename,
418 const wchar_t* filemode
438 int KeepFile(FILE* fileptr);
441 struct ON_Workspace_FBLK * m_pFileBlk;
442 struct ON_Workspace_MBLK * m_pMemBlk;