Skip to content

Commit

Permalink
Added prototype for unset.
Browse files Browse the repository at this point in the history
  • Loading branch information
indigoparadox committed Aug 18, 2024
1 parent d4ff1b3 commit 23ca5dc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/mlispe.h
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,10 @@ struct MLISP_ENV_NODE* mlisp_env_get_strpool(
struct MLISP_PARSER* parser, struct MLISP_EXEC_STATE* exec,
const char* strpool, size_t token_strpool_idx, size_t token_strpool_sz );

MERROR_RETVAL mlisp_env_unset(
struct MLISP_PARSER* parser, struct MLISP_EXEC_STATE* exec,
const char* token, size_t token_sz );

MERROR_RETVAL mlisp_env_set(
struct MLISP_PARSER* parser, struct MLISP_EXEC_STATE* exec,
const char* token, size_t token_sz, uint8_t env_type, const void* data,
Expand Down

0 comments on commit 23ca5dc

Please sign in to comment.