Lichen

Annotated templates/native/tuple.h

953:28b43ef743ae
2021-11-07 Paul Boddie Introduced a value stack, currently unused, referenced by a function parameter alongside the ubiquitous context parameter. tagged-address-values
paul@773 1
/* Native functions for tuple operations.
paul@773 2
paul@953 3
Copyright (C) 2016, 2017, 2021 Paul Boddie <paul@boddie.org.uk>
paul@773 4
paul@773 5
This program is free software; you can redistribute it and/or modify it under
paul@773 6
the terms of the GNU General Public License as published by the Free Software
paul@773 7
Foundation; either version 3 of the License, or (at your option) any later
paul@773 8
version.
paul@773 9
paul@773 10
This program is distributed in the hope that it will be useful, but WITHOUT
paul@773 11
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
paul@773 12
FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
paul@773 13
details.
paul@773 14
paul@773 15
You should have received a copy of the GNU General Public License along with
paul@773 16
this program.  If not, see <http://www.gnu.org/licenses/>.
paul@773 17
*/
paul@773 18
paul@773 19
#ifndef __NATIVE_TUPLE_H__
paul@773 20
#define __NATIVE_TUPLE_H__
paul@773 21
paul@773 22
#include "types.h"
paul@773 23
paul@773 24
/* List operations. */
paul@773 25
paul@953 26
__attr __fn_native_tuple_tuple_init(__attr __stack, __attr __self, __attr size);
paul@773 27
paul@773 28
/* Module initialisation. */
paul@773 29
paul@773 30
void __main_native_tuple();
paul@773 31
paul@773 32
#endif /* __NATIVE_TUPLE_H__ */