~ubuntu-branches/ubuntu/lucid/fpc/lucid-proposed

« back to all changes in this revision

Viewing changes to fpcsrc/packages/libc/src/mcheckh.inc

  • Committer: Bazaar Package Importer
  • Author(s): Mazen Neifer, Torsten Werner, Mazen Neifer
  • Date: 2008-10-09 23:29:00 UTC
  • mfrom: (4.1.1 sid)
  • Revision ID: james.westby@ubuntu.com-20081009232900-553f61m37jkp6upv
Tags: 2.2.2-4
[ Torsten Werner ]
* Update ABI version in fpc-depends automatically.
* Remove empty directories from binary package fpc-source.

[ Mazen Neifer ]
* Removed leading path when calling update-alternatives to remove a Linitian
  error.
* Fixed clean target.
* Improved description of packages. (Closes: #498882)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
type
 
3
   mcheck_status =  (
 
4
     MCHECK_DISABLED := -(1),
 
5
     MCHECK_OK := 0,
 
6
     MCHECK_FREE := 1,
 
7
     MCHECK_HEAD := 2,
 
8
     MCHECK_TAIL := 3
 
9
   );
 
10
 
 
11
type
 
12
  TMemCheckAbortProc = procedure(MCheckStatus: mcheck_status); cdecl; // Used anonymously in header file
 
13
 
 
14
 
 
15
function mcheck(__abortfunc: TMemCheckAbortProc):longint;cdecl;external clib name 'mcheck';
 
16
function mcheck_pedantic(__abortfunc:TMemCheckAbortProc):longint;cdecl;external clib name 'mcheck_pedantic';
 
17
procedure mcheck_check_all;cdecl;external clib name 'mcheck_check_all';
 
18
function mprobe(__ptr:pointer):mcheck_status;cdecl;external clib name 'mprobe';
 
19
procedure mtrace;cdecl;external clib name 'mtrace';
 
20
procedure muntrace;cdecl;external clib name 'muntrace';
 
21
 
 
22
 
 
23
{ ---------------------------------------------------------------------
 
24
    Borland compatibility types
 
25
  ---------------------------------------------------------------------}
 
26
 
 
27
// Type