c_builder 1.1.0 copy "c_builder: ^1.1.0" to clipboard
c_builder: ^1.1.0 copied to clipboard

An API for generating C code in Dart. Especially helpful for compiler development. Supports generating every possible unit of C code.

1.1.0 #

  • Upgrade for Dart 2.
  • Allow structs to have names.
  • Field.value is now optional.

1.0.0+5 #

  • Fixed a bug that caused Fields to generate incorrect code.
  • Added suffix, asFloat, asDouble, and asByte to Expression.
  • Expression.asThrow now returns an Expression.
  • Added CType.auto.

1.0.0+4 #

  • Added pointerType to FunctionSignature.

1.0.0+3 #

  • Add size_t, ptrdiff_t.
  • Add invoke to Expression.

1.0.0+2 #

  • Allow the creation of Enums.
  • Add extern, inline, and enum$ prefixes to CType.
  • Added to _escapeQuotes.

1.0.0+1 #

  • Fixed a tiny bug where integers would be printed with quotes.

1.0.0 #

Initial version.

1
likes
30
pub points
0%
popularity

Publisher

unverified uploader

An API for generating C code in Dart. Especially helpful for compiler development. Supports generating every possible unit of C code.

Repository (GitHub)
View/report issues

License

MIT (LICENSE)

Dependencies

code_buffer, meta

More

Packages that depend on c_builder