Skip to content

Commit

Permalink
Merge pull request #181 from CosmicToast/getcbytes
Browse files Browse the repository at this point in the history
Add get/opt cbytes to writing-c-functions.mdz
  • Loading branch information
bakpakin committed Jun 2, 2023
2 parents 42f27a4 + 171c0bc commit 3a80714
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions content/capi/writing-c-functions.mdz
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ JanetTable *janet_gettable(const Janet *argv, int32_t n);
const JanetKV *janet_getstruct(const Janet *argv, int32_t n);
const uint8_t *janet_getstring(const Janet *argv, int32_t n);
const char *janet_getcstring(const Janet *argv, int32_t n);
const char *janet_getcbytes(const Janet *argv, int32_t n);
const uint8_t *janet_getsymbol(const Janet *argv, int32_t n);
const uint8_t *janet_getkeyword(const Janet *argv, int32_t n);
JanetBuffer *janet_getbuffer(const Janet *argv, int32_t n);
Expand Down Expand Up @@ -104,6 +105,7 @@ const Janet *janet_opttuple(const Janet *argv, int32_t argc, int32_t n, const Ja
const JanetKV *janet_optstruct(const Janet *argv, int32_t argc, int32_t n, const JanetKV *dflt);
const uint8_t *janet_optstring(const Janet *argv, int32_t argc, int32_t n, const uint8_t *dflt);
const char *janet_optcstring(const Janet *argv, int32_t argc, int32_t n, const char *dflt);
const char *janet_optcbytes(const Janet *argv, int32_t argc, int32_t n, const char *dflt);
const uint8_t *janet_optsymbol(const Janet *argv, int32_t argc, int32_t n, const uint8_t *dflt);
const uint8_t *janet_optkeyword(const Janet *argv, int32_t argc, int32_t n, const uint8_t *dflt);
JanetFiber *janet_optfiber(const Janet *argv, int32_t argc, int32_t n, JanetFiber *dflt);
Expand Down

0 comments on commit 3a80714

Please sign in to comment.