rewriting and organizing the code
This commit is contained in:
parent
17799309a9
commit
20cb5a12f8
17 changed files with 10766 additions and 32 deletions
|
|
@ -117,8 +117,8 @@ struct TDF_FUNCS{
|
|||
struct TDF_FILE{
|
||||
boost::unordered_map<std::string,TDF_DATA>* data=nullptr;
|
||||
char*filepath;
|
||||
TDF_FUNCS FUNCS;
|
||||
std::vector<void*> todelete;
|
||||
TDF_FUNCS FUNCS;
|
||||
void close(){
|
||||
for(size_t i=0;i<todelete.size();i++){
|
||||
delete todelete[i];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue