equal
deleted
inserted
replaced
42 typedef Byte * PByte; |
42 typedef Byte * PByte; |
43 typedef char * PChar; |
43 typedef char * PChar; |
44 typedef LongInt * PLongInt; |
44 typedef LongInt * PLongInt; |
45 typedef Integer * PInteger; |
45 typedef Integer * PInteger; |
46 |
46 |
47 #define new(a) __new(a, sizeof(*(a))) |
47 #define new(a) __new(&a, sizeof(*(a))) |
48 void __new(pointer p, int size); |
48 void __new(pointer * p, int size); |
49 |
49 |
50 #define dispose(a) __dispose(a, sizeof(*(a))) |
50 #define dispose(a) __dispose(a, sizeof(*(a))) |
51 void __dispose(pointer p, int size); |
51 void __dispose(pointer p, int size); |
52 |
52 |
53 #define FillChar(a, b, c) __FillChar(&(a), b, c) |
53 #define FillChar(a, b, c) __FillChar(&(a), b, c) |
66 |
66 |
67 typedef int file; |
67 typedef int file; |
68 extern int FileMode; |
68 extern int FileMode; |
69 extern int IOResult; |
69 extern int IOResult; |
70 |
70 |
71 void assign(int f, string255 fileName); |
71 #define assign(a, b) assign_(&(a), b) |
|
72 void assign_(int * f, string255 fileName); |
72 void reset(int f, int size); |
73 void reset(int f, int size); |
73 #define BlockRead(a, b, c, d) BlockRead_(a, &(b), c, &(d)) |
74 #define BlockRead(a, b, c, d) BlockRead_(a, &(b), c, &(d)) |
74 void BlockRead_(int f, void * p, int size, int * sizeRead); |
75 void BlockRead_(int f, void * p, int size, int * sizeRead); |
75 void close(int f); |
76 void close(int f); |