mirror of
https://github.com/janet-lang/janet
synced 2025-10-20 18:27:40 +00:00
Use :length method for (length abstract)
Also adds the janet_lengthv API call. This is needed because janet_length returns a 32 bit integer, where as lengthv lets us return larger values (useful for typed arrays). janet_mcall is an api function that should make it easier to call a janet method from C code. It shares a similar signature with janet_call.
This commit is contained in:
@@ -30,7 +30,7 @@
|
||||
#endif
|
||||
|
||||
/* Implements a pretty printer for Janet. The pretty printer
|
||||
* is farily simple and not that flexible, but fast. */
|
||||
* is simple and not that flexible, but fast. */
|
||||
|
||||
/* Temporary buffer size */
|
||||
#define BUFSIZE 64
|
||||
|
Reference in New Issue
Block a user