Skip to content

Conversation

@davidfiala
Copy link

  1. add missing includes that gcc doesn't complain about, but were pedantically missing or incorrect
  2. remove unnecessary includes
  3. add forward declarations for JS stdlib functions that are meant to be implemented by the host binary
  4. clear up one ambiguous whitespace issue that clangd yells about

clangd is used (forcibly) by Cursor for intellisense, which instigated/necessitated this.

I did not go so far as to add forward declarations for the example stdlib, because I did not know how you'd like to cleanly do that, nor did I know if you'd be open to that level of change.

…es current code happy with clangd as well as gcc. note that I did not add forward decls for the example stdlib as I did not see a clean way to do it.
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.

1 participant