Builtin function argument parsing
This commit is contained in:
@ -23,4 +23,9 @@ DECLARE_FUNCTION(puthash, (LispVal * ht, LispVal *key, LispVal *val));
|
||||
DECLARE_FUNCTION(remhash, (LispVal * ht, LispVal *key));
|
||||
DECLARE_FUNCTION(hash_table_count, (LispVal * ht));
|
||||
|
||||
static ALWAYS_INLINE size_t HASH_TABLE_COUNT(LispVal *ht) {
|
||||
assert(HASH_TABLE_P(ht));
|
||||
return ((LispHashTable *) ht)->count;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user