mirror of
https://github.com/janet-lang/janet
synced 2024-12-27 00:40:26 +00:00
commit
408b03ae0d
@ -339,7 +339,10 @@ JANET_CORE_FN(janet_core_native,
|
|||||||
|
|
||||||
JANET_CORE_FN(janet_core_describe,
|
JANET_CORE_FN(janet_core_describe,
|
||||||
"(describe x)",
|
"(describe x)",
|
||||||
"Returns a string that is a human-readable description of a value x.") {
|
"Returns a string that is a human-readable description of `x`. "
|
||||||
|
"For recursive data structures, the string returned contains a "
|
||||||
|
"more or less unique pointer value from which the identity of `x` "
|
||||||
|
"could be determined.") {
|
||||||
JanetBuffer *b = janet_buffer(0);
|
JanetBuffer *b = janet_buffer(0);
|
||||||
for (int32_t i = 0; i < argc; ++i)
|
for (int32_t i = 0; i < argc; ++i)
|
||||||
janet_description_b(b, argv[i]);
|
janet_description_b(b, argv[i]);
|
||||||
|
Loading…
Reference in New Issue
Block a user