templates/progops.h | raw changeset files shortlog |
1.1 --- a/templates/progops.h Mon Oct 31 21:53:38 2016 +0100 1.2 +++ b/templates/progops.h Tue Nov 01 13:52:30 2016 +0100 1.3 @@ -1,10 +1,11 @@ 1.4 /* Program type definitions. */ 1.5 1.6 +#include <stdlib.h> 1.7 #include "types.h" 1.8 1.9 /* Common operations. */ 1.10 1.11 -__attr __new(const __table *table, __ref cls, int size); 1.12 +__attr __new(const __table *table, __ref cls, size_t size); 1.13 1.14 __attr __newdata(__attr args[], unsigned int number); 1.15