mirror of
https://github.com/janet-lang/janet
synced 2025-10-14 07:17:40 +00:00
Update require to handle natives better.
This commit is contained in:
@@ -393,7 +393,7 @@ static const DstReg cfuns[] = {
|
||||
{NULL, NULL}
|
||||
};
|
||||
|
||||
int _dst_init(DstArgs args) {
|
||||
DST_MODULE_ENTRY(DstArgs args) {
|
||||
DstTable *env = dst_env_arg(args);
|
||||
dst_env_cfuns(env, cfuns);
|
||||
return 0;
|
||||
|
Reference in New Issue
Block a user