2 Copyright (C) 2017-2018 Keziah Wesley
4 You can redistribute and/or modify this file under the terms of the
5 GNU Affero General Public License as published by the Free Software
6 Foundation, either version 3 of the License, or (at your option) any
9 This file is distributed in the hope that it will be useful, but
10 WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 Affero General Public License for more details.
14 You should have received a copy of the GNU Affero General Public
15 License along with this file. If not, see
16 <http://www.gnu.org/licenses/>.
25 void push_frame (void (*fn) (), tuple_object args, void (*cont) ());
27 /* TODO: don't expose this in header */
35 typedef struct frame frame;
38 // <0> frametop (set for this call)
41 tuple_object prevframe;
42 // <0> framebottom (state saved before child call)
45 // <0> temps, <1> args