-
-
Notifications
You must be signed in to change notification settings - Fork 489
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(chore) move moonscript into separate C file #1670
Conversation
Would this be good? If so I can do the same with Fennell... |
src/api/squirrel.c
Outdated
@@ -1447,7 +1447,7 @@ static void squirrel_open_builtins(HSQUIRRELVM vm) | |||
sq_poptop(vm); | |||
} | |||
|
|||
static void initAPI(tic_core* core) | |||
static void initLuaAPI(tic_core* core) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like the function was accidentally renamed here, there should be no mention of Lua in the Squirrel module.
src/api/wren.c
Outdated
@@ -1395,7 +1395,7 @@ static WrenForeignMethodFn bindForeignMethod( | |||
return foreignTicMethods(fullName); | |||
} | |||
|
|||
static void initAPI(tic_core* core) | |||
static void initLuaAPI(tic_core* core) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here, please fix if not difficult.
Thank you.
Yeah, no problem. I'll fix this up and make sure the tests are green. Just didn't want to throw more work at this if you aren't ok with the change in general. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thank you
Yeah, not sure this was 100% ready yet. :) You got to it too fast. |
ok, waiting... :) |
But you already merged it... did you get it working or should I just open a new PR? :-) |
Honestly, I don't know what to do in this case :) |
Feels like every language should have their own C file in
api
... so I wonder if this should be broken out?