first part of CFileLoader

This commit is contained in:
aap 2019-06-17 10:30:02 +02:00
commit b5fba778c4
41 changed files with 1182 additions and 45 deletions

View file

@ -8,8 +8,10 @@ public:
T store[n];
T *alloc(void){
if(this->allocPtr >= n)
if(this->allocPtr >= n){
printf("Size of this thing:%d needs increasing\n", n);
assert(0);
}
return &this->store[this->allocPtr++];
}
void clear(void){