Merge pull request #1065 from sogaiu/comment-tweaks

Misc comment tweaks
This commit is contained in:
Calvin Rose 2023-01-27 11:26:05 -06:00 committed by GitHub
commit 0dbef65a73
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

View File

@ -133,7 +133,7 @@ struct JanetScope {
/* FuncDefs */
JanetFuncDef **defs;
/* Regsiter allocator */
/* Register allocator */
JanetcRegisterAllocator ra;
/* 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 */
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);
/* Free slots loaded via janetc_toslots */

View File

@ -60,7 +60,7 @@ typedef struct {
int is_error;
} 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
* static memory not managed by Janet. */
typedef struct {
@ -91,7 +91,7 @@ struct JanetVM {
int auto_suspend;
/* 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 *root_fiber;
@ -107,7 +107,7 @@ struct JanetVM {
size_t registry_count;
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. */
JanetTable *abstract_registry;