c_builder 1.1.0 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
Field
s to generate incorrect code. - Added
suffix
,asFloat
,asDouble
, andasByte
toExpression
. Expression.asThrow
now returns anExpression
.- Added
CType.auto
.
1.0.0+4 #
- Added
pointerType
toFunctionSignature
.
1.0.0+3 #
- Add
size_t
,ptrdiff_t
. - Add
invoke
toExpression
.
1.0.0+2 #
- Allow the creation of
Enum
s. - Add
extern
,inline
, andenum$
prefixes toCType
. - Added to
_escapeQuotes
.
1.0.0+1 #
- Fixed a tiny bug where integers would be printed with quotes.
1.0.0 #
Initial version.