mirror of
https://github.com/janet-lang/janet
synced 2025-01-13 09:00:26 +00:00
Misc comment tweaks
This commit is contained in:
parent
8c4cc4e671
commit
310bcec260
@ -133,7 +133,7 @@ struct JanetScope {
|
|||||||
/* FuncDefs */
|
/* FuncDefs */
|
||||||
JanetFuncDef **defs;
|
JanetFuncDef **defs;
|
||||||
|
|
||||||
/* Regsiter allocator */
|
/* Register allocator */
|
||||||
JanetcRegisterAllocator ra;
|
JanetcRegisterAllocator ra;
|
||||||
|
|
||||||
/* Upvalue allocator */
|
/* Upvalue allocator */
|
||||||
@ -227,7 +227,7 @@ JanetSlot *janetc_toslots(JanetCompiler *c, const Janet *vals, int32_t len);
|
|||||||
/* Get a bunch of slots for function arguments */
|
/* Get a bunch of slots for function arguments */
|
||||||
JanetSlot *janetc_toslotskv(JanetCompiler *c, Janet ds);
|
JanetSlot *janetc_toslotskv(JanetCompiler *c, Janet ds);
|
||||||
|
|
||||||
/* Push slots load via janetc_toslots. */
|
/* Push slots loaded via janetc_toslots. */
|
||||||
int32_t janetc_pushslots(JanetCompiler *c, JanetSlot *slots);
|
int32_t janetc_pushslots(JanetCompiler *c, JanetSlot *slots);
|
||||||
|
|
||||||
/* Free slots loaded via janetc_toslots */
|
/* Free slots loaded via janetc_toslots */
|
||||||
|
@ -60,7 +60,7 @@ typedef struct {
|
|||||||
int is_error;
|
int is_error;
|
||||||
} JanetTimeout;
|
} JanetTimeout;
|
||||||
|
|
||||||
/* Registry table for C functions - containts metadata that can
|
/* Registry table for C functions - contains metadata that can
|
||||||
* be looked up by cfunction pointer. All strings here are pointing to
|
* be looked up by cfunction pointer. All strings here are pointing to
|
||||||
* static memory not managed by Janet. */
|
* static memory not managed by Janet. */
|
||||||
typedef struct {
|
typedef struct {
|
||||||
@ -91,7 +91,7 @@ struct JanetVM {
|
|||||||
int auto_suspend;
|
int auto_suspend;
|
||||||
|
|
||||||
/* The current running fiber on the current thread.
|
/* The current running fiber on the current thread.
|
||||||
* Set and unset by janet_run. */
|
* Set and unset by functions in vm.c */
|
||||||
JanetFiber *fiber;
|
JanetFiber *fiber;
|
||||||
JanetFiber *root_fiber;
|
JanetFiber *root_fiber;
|
||||||
|
|
||||||
@ -107,7 +107,7 @@ struct JanetVM {
|
|||||||
size_t registry_count;
|
size_t registry_count;
|
||||||
int registry_dirty;
|
int registry_dirty;
|
||||||
|
|
||||||
/* Registry for abstract abstract types that can be marshalled.
|
/* Registry for abstract types that can be marshalled.
|
||||||
* We need this to look up the constructors when unmarshalling. */
|
* We need this to look up the constructors when unmarshalling. */
|
||||||
JanetTable *abstract_registry;
|
JanetTable *abstract_registry;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user