Skip to content

Generate function entries from stubs #5195

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

Closed
wants to merge 3 commits into from
Closed

Conversation

nikic
Copy link
Member

@nikic nikic commented Feb 21, 2020

Based on #5194 to avoid named FEs.

We currently only generate arginfo from stubs. However, we can also generate function entries as well. This is an early prototype to do that.

One problem that I ran into here is the arginfo.h file being included in multiple files... I think that's a pattern that should be avoided. Instead the stub file should be split up, or the function registration should be moved around.

@cmb69 cmb69 added the Feature label Mar 3, 2020
@nikic nikic force-pushed the stub-funcs branch 2 times, most recently from f87d7d5 to 5a76453 Compare April 3, 2020 12:40
@nikic nikic requested a review from kocsismate April 3, 2020 12:57
@nikic
Copy link
Member Author

nikic commented Apr 3, 2020

This should actually work now... I've added a @generate-function-entries doc tag to toggle whether or not FEs are generated, so we can gradually migrate.

Copy link
Member

@kocsismate kocsismate left a comment

Choose a reason for hiding this comment

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

It's really nice! :) I'll take care of the other extensions.

@nikic
Copy link
Member Author

nikic commented Apr 3, 2020

Merged as 51bc623 and 2bfcd88.

@nikic nikic closed this Apr 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants