diff options
author | Clyne Sullivan <tullivan99@gmail.com> | 2018-02-07 09:26:36 -0500 |
---|---|---|
committer | Clyne Sullivan <tullivan99@gmail.com> | 2018-02-07 09:26:36 -0500 |
commit | 2b8cf5e771cac4c2b087dc96a7ca05a459f630b5 (patch) | |
tree | d1e25ef8520e9df936c231af0d5b760177d6cbde /stack.h | |
parent | e3cbc8086c25d4fc1d9413815643b3ecaaee2062 (diff) |
conditionals, returns, cleaner code
Diffstat (limited to 'stack.h')
-rw-r--r-- | stack.h | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -0,0 +1,15 @@ +#ifndef STACK_H_ +#define STACK_H_ + +#include "parser.h" + +void ipush(interpreter *it, void *v); +void *ipop(interpreter *it); +void ipopm(interpreter *it, uint32_t count); +variable *igetarg(interpreter *interp, uint32_t index); +char *igetarg_string(interpreter *interp, uint32_t index); +int igetarg_integer(interpreter *interp, uint32_t index); +float igetarg_float(interpreter *interp, uint32_t index); + + +#endif // STACK_H_ |