-
Notifications
You must be signed in to change notification settings - Fork 80
[ffigen] revamp readme #2691
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
base: main
Are you sure you want to change the base?
[ffigen] revamp readme #2691
Conversation
PR HealthBreaking changes ✔️
This check can be disabled by tagging the PR with Changelog Entry ✔️
Changes to files need to be accounted for in their respective changelogs. This check can be disabled by tagging the PR with API leaks ✔️The following packages contain symbols visible in the public API, but not exported by the library. Export these symbols or remove them from your publicly visible API.
This check can be disabled by tagging the PR with License Headers ✔️
All source files should start with a license header. Unrelated files missing license headers
This check can be disabled by tagging the PR with |
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.
Nice! 🚀
pkgs/ffigen/README.md
Outdated
} | ||
``` | ||
|
||
3. To generate the bindings, we will write a script using `ffigen` and place it |
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.
ffigen
-> package:ffigen
or FFIgen ? (I believe ffigen and ffigen
are wrong typesetting in our codebase.)
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.
I standardized this to FFIgen, and did the same for JNIgen. At least in the readme. I'll do a pass over the rest of the code base in a separate change.
// ... | ||
void answerToLife() { | ||
print('The answer to the Ultimate Question is ${add(40, 2)}!'); |
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.
Love it!
This adds a simple "getting started" section to the readme to guide newcomers through setting up ffigen for a Dart app. It also fixes some minor issues in other parts of the readme.
Related to #2670, which did the same to the jnigen readme.