| 1 | #ifndef _XH_STASH_H_ | ||
| 2 | #define _XH_STASH_H_ | ||
| 3 | |||
| 4 | #include "xh_config.h" | ||
| 5 | #include "xh_core.h" | ||
| 6 | |||
| 7 | XH_INLINE void | ||
| 8 | 0 | xh_stash_push(xh_stack_t *stash, SV *value) | |
| 9 | { | ||
| 10 | SV **stash_item; | ||
| 11 | 0 | stash_item = xh_stack_push(stash); | |
| 12 | 0 | *stash_item = value; | |
| 13 | 0 | } | |
| 14 | |||
| 15 | void xh_stash_clean(xh_stack_t *stash); | ||
| 16 | |||
| 17 | #endif /* _XH_STASH_H_ */ |