[ADD] packet_io framework
This commit is contained in:
@@ -2,8 +2,8 @@
|
||||
|
||||
#include <stdlib.h> //calloc
|
||||
|
||||
#define ALLOC(type, number) ((type *)calloc(sizeof(type), number))
|
||||
#define FREE(p) {free(*p);*p=NULL;}
|
||||
#define CALLOC(type, number) ((type *)calloc(sizeof(type), number))
|
||||
#define FREE(p) {free(p);p=NULL;}
|
||||
|
||||
#define TRUE 1
|
||||
#define FALSE 0
|
||||
|
||||
Reference in New Issue
Block a user