Go to the source code of this file.
|
| #define | xspAlloc(n, type) (type *)xspMalloc((int)(n)*sizeof(type)) |
| |
| #define | xspRealloc(p, n, type) (type *)xspRemalloc((char *)(p), (int)(n)*sizeof(type)) |
| |
| #define | xspFree(p) {_xspFree((char *)(p)); (p) = NULL;} |
| |
| #define | spArrayCopy(p1, p2, n, type) memmove((char *)(p1), (char *)(p2), (unsigned)(n)*sizeof(type)) |
| |
| #define | xalloc(n, type) xspAlloc(n, type) |
| |
| #define | xrealloc(p, n, type) xspRealloc(p, n, type) |
| |
| #define | xfree(p) xspFree(p) |
| |
| #define | strclone(string) xspStrClone(string) |
| |
| #define | arrcpy(p1, p2, n, type) spArrayCopy(p1, p2, n, type) |
| |
|
| char * | xspMalloc (int nbytes) |
| |
| char * | xspRemalloc (char *p, int nbytes) |
| |
| void | _xspFree (char *p) |
| |
| int ** | xspIMatAlloc (int row, int col) |
| |
| void | xspIMatFree (int **mat, int row) |
| |
| short ** | xspSMatAlloc (int row, int col) |
| |
| void | xspSMatFree (short **mat, int row) |
| |
| long ** | xspLMatAlloc (int row, int col) |
| |
| void | xspLMatFree (long **mat, int row) |
| |
| float ** | xspFMatAlloc (int row, int col) |
| |
| void | xspFMatFree (float **mat, int row) |
| |
| double ** | xspDMatAlloc (int row, int col) |
| |
| void | xspDMatFree (double **mat, int row) |
| |
| char ** | xspCMatAlloc (int row, int col) |
| |
| void | xspCMatFree (char **mat, int row) |
| |
| unsigned char ** | xspUCMatAlloc (int row, int col) |
| |
| void | xspUCMatFree (unsigned char **mat, int row) |
| |
| char * | xspStrClone (const char *string) |
| |