1 /* Program type definitions. */ 2 3 #include <stdlib.h> 4 #include "types.h" 5 6 /* Common operations. */ 7 8 __attr __new(const __table *table, __ref cls, size_t size); 9 10 __attr __newdata(__attr args[], unsigned int number); 11 12 __attr __invoke(__attr callable, int always_callable, 13 unsigned int nkwargs, __param kwcodes[], __attr kwargs[], 14 unsigned int nargs, __attr args[]); 15 16 /* Error routines. */ 17 18 __attr __unbound_method(__attr args[]); 19 20 /* Generic operations depending on specific program details. */ 21 22 void __SETDEFAULT(__ref obj, int pos, __attr value); 23 24 __attr __GETDEFAULT(__ref obj, int pos); 25 26 int __BOOL(__attr attr);