hedgewars/pas2c.h
changeset 6895 31def088a870
parent 6894 555a8d8db228
child 6896 23b38e530967
equal deleted inserted replaced
6894:555a8d8db228 6895:31def088a870
    37 typedef char * PChar;
    37 typedef char * PChar;
    38 typedef LongInt * PLongInt;
    38 typedef LongInt * PLongInt;
    39 typedef Integer * PInteger;
    39 typedef Integer * PInteger;
    40 
    40 
    41 #define new(a) __new(a, sizeof(*(a)))
    41 #define new(a) __new(a, sizeof(*(a)))
    42 void __new(pointer p);
    42 void __new(pointer p, int size);
       
    43 
       
    44 #define dispose(a) __dispose(a, sizeof(*(a)))
       
    45 void __dispose(pointer p, int size);
    43 
    46 
    44 #define FillChar(a, b, c) __FillChar(&(a), b, c)
    47 #define FillChar(a, b, c) __FillChar(&(a), b, c)
    45 
    48 
    46 void __FillChar(pointer p, int size, char fill);
    49 void __FillChar(pointer p, int size, char fill);
    47 string255 _strconcat(string255 a, string255 b);
    50 string255 _strconcat(string255 a, string255 b);
    48 
    51 
       
    52 int Length(string255 a);
       
    53 string255 copy(string255 a, int s, int l);
       
    54 string255 delete(string255 a, int s, int l);
       
    55