File: memory.h

package info (click to toggle)
sprng 2.0a-8
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd, wheezy
  • size: 3,080 kB
  • ctags: 2,062
  • sloc: ansic: 30,350; fortran: 1,618; makefile: 573; cpp: 58; sh: 5
file content (12 lines) | stat: -rw-r--r-- 235 bytes parent folder | download | duplicates (26)
1
2
3
4
5
6
7
8
9
10
11
12
#define mymalloc(a) (_mymalloc((a), __LINE__, __FILE__))

#ifndef ANSI_ARGS
#ifdef __STDC__
#define ANSI_ARGS(args) args
#else
#define ANSI_ARGS(args) ()
#endif
#endif

void *_mymalloc ANSI_ARGS((long size, int line, char *message));