klisp

an open source interpreter for the Kernel Programming Language.
git clone http://git.hanabi.in/repos/klisp.git
Log | Files | Refs | README

commit f4f179f0c7b0d2c914dd53cebf2332488454b28f
parent 099873f65c7bf7613c4113677ec946cb658922cd
Author: Andres Navarro <canavarro82@gmail.com>
Date:   Sat, 12 Mar 2011 22:13:56 -0300

Added TODO comment for future space optimization.

Diffstat:
Msrc/kstate.h | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/kstate.h b/src/kstate.h @@ -115,6 +115,9 @@ struct klisp_State { /* ** Stack functions */ +/* TODO: move grow/shrink to non inline functions to diminish the + executable size */ + inline void ks_spush(klisp_State *K, TValue obj); inline TValue ks_spop(klisp_State *K); /* this is for DISCARDING stack pop (value isn't used, avoid warning) */