diff options
| author | 2025-12-14 11:46:57 -0600 | |
|---|---|---|
| committer | 2025-12-14 11:46:57 -0600 | |
| commit | bb3cf7d83b8deadb495903d98b9b58aeb1466328 (patch) | |
| tree | c0532e7b3219743a19bdd390d113a4bd9676778d /src/include | |
| parent | Add os/cpu-count get defaults. (diff) | |
Add missing uinteger janet_opt* funcitons.
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/janet.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/janet.h b/src/include/janet.h index 9879db64..c44c3d3a 100644 --- a/src/include/janet.h +++ b/src/include/janet.h @@ -2117,6 +2117,8 @@ JANET_API int32_t janet_optinteger(const Janet *argv, int32_t argc, int32_t n, i JANET_API int64_t janet_optinteger64(const Janet *argv, int32_t argc, int32_t n, int64_t dflt); JANET_API size_t janet_optsize(const Janet *argv, int32_t argc, int32_t n, size_t dflt); JANET_API JanetAbstract janet_optabstract(const Janet *argv, int32_t argc, int32_t n, const JanetAbstractType *at, JanetAbstract dflt); +JANET_API uint32_t janet_optuinteger(const Janet *argv, int32_t argc, int32_t n, uint32_t dflt); +JANET_API uint64_t janet_optuinteger64(const Janet *argv, int32_t argc, int32_t n, uint64_t dflt); /* Mutable optional types specify a size default, and construct a new value if none is provided */ JANET_API JanetBuffer *janet_optbuffer(const Janet *argv, int32_t argc, int32_t n, int32_t dflt_len); |
