Skip to content

Releases: xlab/c-for-go

v1.3.0

26 Aug 08:18
b658875
Compare
Choose a tag to compare

What's Changed

  • Fix for issue #167 - pass an array to the C function that modifies it and read it after function exec by @nivanov-ati in #169
  • Update modernc.org/cc/v4 to latest version by @sue445 in #171

New Contributors

Full Changelog: v1.2.0...v1.3.0

v1.2.0

04 Mar 10:52
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.1.0...v1.2.0

v1.1.0

26 Feb 23:29
Compare
Choose a tag to compare

What's Changed

  • Bump gopkg.in/yaml.v3 from 3.0.0-20200313102051-9f266ea9e77c to 3.0.0 by @dependabot in #163
  • A few changes needed to support go-libvirt by @mpontillo in #164

New Contributors

Full Changelog: v1.0.0...v1.1.0

v1.0.0

26 Feb 23:27
Compare
Choose a tag to compare

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 &parameter 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

Full Changelog: https://github.com/xlab/c-for-go/commits/v1.0.0