Skip to content
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

Add wrapper generation for natives #1

Open
wants to merge 11 commits into
base: master
Choose a base branch
from

Conversation

nsamsonov
Copy link

@nsamsonov nsamsonov commented May 8, 2020

  1. Add wrapper generation. Default values seem to not get parsed correctly, though, so they are omitted.
  2. Add proper return values for natives returning arrays; simplify function signature inside the handlebars

I had to rearrange some code to support a separate generation without pulling docs twice. Also now it's loading docs in parallel, so it gained a marginal x3 speedup.

Since there are no tests, I manually diffed against my other PR, and they are identical. samp-dev/node#1

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