17 #if !defined(OPENNURBS_WORKSPACE_INC_) 18 #define OPENNURBS_WORKSPACE_INC_ 83 void* GetMemory(
size_t sz );
106 int* GetIntMemory(
size_t count );
123 int** GetIntMemory(
size_t row_count,
size_t col_count );
146 double* GetDoubleMemory(
size_t count );
163 double** GetDoubleMemory(
size_t row_count,
size_t col_count );
239 void* GrowMemory(
void* ptr,
size_t sz );
264 int* GrowIntMemory(
int* ptr,
size_t count );
289 double* GrowDoubleMemory(
double* ptr,
size_t count );
361 bool KeepMemory(
void* ptr );
376 void KeepAllMemory();
395 const char* filename,
416 const wchar_t* filename,
417 const wchar_t* filemode
437 bool KeepFile(FILE* fileptr);
440 struct ON_Workspace_FBLK * m_pFileBlk;
441 struct ON_Workspace_MBLK * m_pMemBlk;
Use ON_Workspace classes on the stack to efficiently get and automatically clean up workspace memory ...
Definition: opennurbs_workspace.h:25
Definition: opennurbs_point.h:460
Definition: opennurbs_point.h:1152