File: prmem.h

package info (click to toggle)
libencode-detect-perl 1.01-5
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 724 kB
  • sloc: cpp: 4,032; perl: 27; ansic: 21; makefile: 3
file content (11 lines) | stat: -rw-r--r-- 232 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
#ifndef INCLUDED_PRMEM_H
#define INCLUDED_PRMEM_H

#include <stdlib.h>

#define PR_Malloc(size) malloc(size)
#define PR_Free(size) free(size)

#define PR_FREEIF(ptr) if (ptr) { free(ptr); (ptr) = 0; }

#endif /* INCLUDED_PRMEM_H */