libc 0.0.10 copy "libc: ^0.0.10" to clipboard
libc: ^0.0.10 copied to clipboard

Dart 1 only

The C standard library wrapper (currently only header files) for the "binary interop" and "binary types".

example/example.dart

import "package:libc/headers.dart";
import "package:libc/libc.dart";
import "package:binary_interop/binary_interop.dart";

void main() {
  var types = new BinaryTypes();
  var helper = new BinaryTypeHelper(types);
  helper.addHeaders(LIBC_HEADERS);
  var libc = loadLibC(types);
  libc.printf("Hello, library '%s'!\n", ["libc"]);
}
0
likes
30
pub points
0%
popularity

Publisher

unverified uploader

The C standard library wrapper (currently only header files) for the "binary interop" and "binary types".

Repository (GitHub)
View/report issues

License

BSD-3-Clause (LICENSE)

Dependencies

binary_interop

More

Packages that depend on libc