[llvm-commits] [PATCH] Expose the TargetData class to c and ocaml bindings.

Erick Tryzelaar idadesub at users.sourceforge.net
Tue Mar 11 01:09:51 PDT 2008


As far as I can tell, this is the last class that needs to
be exposed in order to implement the kaleidoscope tutorial in
c and ocaml.
---
 bindings/ocaml/Makefile               |    2 +-
 bindings/ocaml/target/Makefile        |   20 +++++++++++
 bindings/ocaml/target/llvm_target.ml  |   21 +++++++++++
 bindings/ocaml/target/llvm_target.mli |   26 ++++++++++++++
 bindings/ocaml/target/target_ocaml.c  |   25 +++++++++++++
 include/llvm-c/Target.h               |   61 +++++++++++++++++++++++++++++++++
 lib/Target/Target.cpp                 |   30 ++++++++++++++++
 7 files changed, 184 insertions(+), 1 deletions(-)
 create mode 100644 bindings/ocaml/target/Makefile
 create mode 100644 bindings/ocaml/target/llvm_target.ml
 create mode 100644 bindings/ocaml/target/llvm_target.mli
 create mode 100644 bindings/ocaml/target/target_ocaml.c
 create mode 100644 include/llvm-c/Target.h
 create mode 100644 lib/Target/Target.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 246650ac81f2a57c2e06d664a3d1f611d8af9617.diff
Type: text/x-patch
Size: 8905 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20080311/3734f87e/attachment.bin>


More information about the llvm-commits mailing list