mirror of
				https://github.com/janet-lang/janet
				synced 2025-10-31 07:33:01 +00:00 
			
		
		
		
	Merge pull request #1065 from sogaiu/comment-tweaks
Misc comment tweaks
This commit is contained in:
		| @@ -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 */ | ||||
|   | ||||
| @@ -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; | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Calvin Rose
					Calvin Rose