startup: handle autoload and lua packages during startup

¡NO HAY BANDA!
This commit is contained in:
Björn Linse
2020-10-19 20:05:54 +02:00
parent 6224ec3d4a
commit c60c7375f5
15 changed files with 92 additions and 274 deletions

View File

@@ -52,7 +52,8 @@
.type = kObjectTypeLuaRef, \
.data.luaref = r })
#define NIL ((Object) {.type = kObjectTypeNil})
#define NIL ((Object)OBJECT_INIT)
#define NULL_STRING ((String)STRING_INIT)
#define PUT(dict, k, v) \
kv_push(dict, ((KeyValuePair) { .key = cstr_to_string(k), .value = v }))