File Coverage

src/xh_stash.h
Criterion Covered Total %
statement 4 4 100.0
branch n/a
condition n/a
subroutine n/a
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
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 7           xh_stash_push(xh_stack_t *stash, SV *value)
9             {
10             SV **stash_item;
11 7           stash_item = xh_stack_push(stash);
12 7           *stash_item = value;
13 7           }
14              
15             void xh_stash_clean(xh_stack_t *stash);
16              
17             #endif /* _XH_STASH_H_ */