File: prmem.h

package info (click to toggle)
libchardet 1.0.4-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 2,180 kB
  • ctags: 651
  • sloc: sh: 9,764; cpp: 4,196; makefile: 76; ansic: 31
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 */