SystemMemory.c 270 B

12345678910111213141516171819202122
  1. #include "SystemMemory.h"
  2. #include "StringMap.h"
  3. #include "PackMap.h"
  4. #include "ArrayList.h"
  5. void *new_byte(int size){
  6. void *mem = malloc(size);
  7. if(mem != NULL){
  8. memset(mem,NULL,size);
  9. return mem;
  10. }
  11. return NULL;
  12. }
  13. void test_memory(void){
  14. }