1.1 --- a/templates/progops.h Sun Oct 30 22:33:22 2016 +0100
1.2 +++ b/templates/progops.h Mon Oct 31 18:26:36 2016 +0100
1.3 @@ -5,6 +5,9 @@
1.4 /* Common operations. */
1.5
1.6 __attr __new(const __table *table, __ref cls, int size);
1.7 +
1.8 +__attr __newdata(__attr args[], unsigned int number);
1.9 +
1.10 __attr __invoke(__attr callable, int always_callable,
1.11 unsigned int nkwargs, __param kwcodes[], __attr kwargs[],
1.12 unsigned int nargs, __attr args[]);
1.13 @@ -16,5 +19,7 @@
1.14 /* Generic operations depending on specific program details. */
1.15
1.16 void __SETDEFAULT(__ref obj, int pos, __attr value);
1.17 +
1.18 __attr __GETDEFAULT(__ref obj, int pos);
1.19 +
1.20 int __BOOL(__attr attr);