Skip to content

(chore) move moonscript into separate C file - #1670

Merged
nesbox merged 2 commits into
nesbox:masterfrom
joshgoebel:moonscript_sep_file
Nov 5, 2021
Merged

nesbox merged 2 commits into
nesbox:masterfrom
joshgoebel:moonscript_sep_file

Conversation

@joshgoebel

@joshgoebel joshgoebel commented Nov 5, 2021 •

Copy link
Copy Markdown
Collaborator

Feels like every language should have their own C file in api... so I wonder if this should be broken out?

@joshgoebel

Copy link
Copy Markdown
Collaborator Author

Would this be good? If so I can do the same with Fennell...

@joshgoebel joshgoebel changed the title (chore) more moonscript into separate C file (chore) move moonscript into separate C file Nov 5, 2021
@joshgoebel
joshgoebel requested a review from nesbox November 5, 2021 02:58
Comment thread src/api/squirrel.c Outdated
}

static void initAPI(tic_core* core)
static void initLuaAPI(tic_core* core)

Copy link
Copy Markdown
Owner

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.

Comment thread src/api/wren.c Outdated
}

static void initAPI(tic_core* core)
static void initLuaAPI(tic_core* core)

Copy link
Copy Markdown
Owner

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.

@joshgoebel

Copy link
Copy Markdown
Collaborator Author

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.

@nesbox nesbox left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you

@nesbox
nesbox merged commit 666705d into nesbox:master Nov 5, 2021
nesbox added a commit that referenced this pull request Nov 5, 2021
nesbox added a commit that referenced this pull request Nov 5, 2021
@joshgoebel

Copy link
Copy Markdown
Collaborator Author

Yeah, not sure this was 100% ready yet. :) You got to it too fast.

@nesbox

nesbox commented Nov 5, 2021

Copy link
Copy Markdown
Owner

ok, waiting... :)

@joshgoebel

Copy link
Copy Markdown
Collaborator Author

But you already merged it... did you get it working or should I just open a new PR? :-)

@nesbox

nesbox commented Nov 5, 2021

Copy link
Copy Markdown
Owner

Honestly, I don't know what to do in this case :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants