mirror of
https://github.com/janet-lang/janet
synced 2026-10-04 06:41:41 +00:00
refactor(c-api): Use size_t on some JanetStructHead fields
This commit is contained in:
+2
-2
@@ -1007,9 +1007,9 @@ struct JanetTupleHead {
|
||||
/* Prefix for a struct */
|
||||
struct JanetStructHead {
|
||||
JanetGCObject gc;
|
||||
int32_t length;
|
||||
size_t length;
|
||||
int32_t hash;
|
||||
int32_t capacity;
|
||||
size_t capacity;
|
||||
const JanetKV *proto;
|
||||
const JanetKV data[];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user