v1.0.0
It's time to release a version
Since this project's original inception, many contributors from the community and users made a lots of useful changes, but I've never published any "official" release, so it becomes harder to track the changes. I'm going to fix this by releasing this "genesis" v1.0.0 version.
While it works fine for lots of use cases and is much better than my original work, thanks to all the improvements, it's still not perfect, as you can see in the Issues Tab.
If you want to contribute to the project, it's the right time to do so - simply open a pull request. I encourage companies who forked the tool and improved it in some way for internal pipelines, to come back with good PRs. Myself and many other users will be grateful.
🎉
What's Changed
- Add EnableWideEnumValues and EnableWideBitFieldTypes by @pwaller in #12
- Move */{test => testdata} by @pwaller in #25
- Output declarations in sorted order by name. by @pwaller in #27
- Pass function pointer instead of ¶meter by @pwaller in #30
- Workaround issue #100 in cc by @CtrlZvi in #31
- fix parameter names for the __GNUC_PREREQ macro by @trapgate in #45
- Normalize pointers for callback function return specs by @jackwakefield in #50
- Change Data in the slice/string headers to unsafe.Pointer by @jackwakefield in #51
- Comply with expected header for generated Go code by @mdlayher in #52
- Invalid settings of sliceHeader.Data by @raff in #57
- Accessor Functions for C structs by @gmp216 in #61
- Update xc to modernc.org/xc. in #70
- Allow for object oriented c bindings by @jhlange in #73
- Always output forward slashes in generate comments. by @russ- in #87
- Fix parse error for empty constants by @pwaller in #90
- module support by @jclc in #95
- Fix/2 mem issues by @dtynn in #91
- use explicit double-\n to avoid golint warning by @dankamongmen in #100
- Check that generator is successfully created before using by @chrisroberts in #103
- Enable modernc.org/cc tweak: parenthesized compound statement by @epsleq0 in #111
- Fixing code generation with unsafe prefix by @lotodore in #126
- Update cc to v4 and add unit tests by @lotodore in #127
- Fixing #132 by @lotodore in #134
- adjust type_mapping if processor's data model uses 64bit long integers by @bearsh in #139
- add support for int128 and uint128 types by @jstrachan in #148
- add an optional expression which can be used to default a slice length by @jstrachan in #149
- Add support for additional float types by @bobbyluig in #156
New Contributors
- @pwaller made their first contribution in #12
- @CtrlZvi made their first contribution in #31
- @trapgate made their first contribution in #45
- @jackwakefield made their first contribution in #50
- @mdlayher made their first contribution in #52
- @raff made their first contribution in #57
- @gmp216 made their first contribution in #61
- @jhlange made their first contribution in #73
- @russ- made their first contribution in #87
- @jclc made their first contribution in #95
- @dtynn made their first contribution in #91
- @dankamongmen made their first contribution in #100
- @chrisroberts made their first contribution in #103
- @epsleq0 made their first contribution in #111
- @lotodore made their first contribution in #126
- @bearsh made their first contribution in #139
- @jstrachan made their first contribution in #148
- @bobbyluig made their first contribution in #156
Full Changelog: https://github.com/xlab/c-for-go/commits/v1.0.0