Interpreter - Incremental API changes
[rune.git] / libi / iframe.h
1 /*
2  * IFRAME.H
3  *
4  * (c)Copyright 1993-2014, Matthew Dillon, All Rights Reserved.  See the  
5  *    COPYRIGHT file at the base of the distribution.
6  */
7
8 typedef struct IFrame {
9         int             if_SaveCount;
10 } IFrame;
11
12 static __inline void
13 saveIFrame(IFrame *frame)
14 {
15         frame->if_SaveCount = ICount;
16 }
17
18 static __inline void
19 restoreIFrame(IFrame *frame)
20 {
21         ICount = frame->if_SaveCount;
22 }