1.1 --- a/templates/native.c Sat Dec 03 16:44:55 2016 +0100
1.2 +++ b/templates/native.c Sat Dec 03 17:11:59 2016 +0100
1.3 @@ -243,6 +243,16 @@
1.4 return __new_int(i & j);
1.5 }
1.6
1.7 +__attr __fn_native__int_not(__attr __args[])
1.8 +{
1.9 + __attr * const _data = &__args[1];
1.10 + /* _data interpreted as int */
1.11 + int i = _data->intvalue;
1.12 +
1.13 + /* Return the new integer. */
1.14 + return __new_int(~i);
1.15 +}
1.16 +
1.17 __attr __fn_native__int_or(__attr __args[])
1.18 {
1.19 __attr * const _data = &__args[1];