[OCaml] Add a class example
It is based on the Python class example. The Makefile is based on the Makefile used in the OCaml shapes example.
This commit is contained in:
parent
bbad9eab8c
commit
96c5a95878
6 changed files with 164 additions and 4 deletions
9
Examples/ocaml/class/example.i
Normal file
9
Examples/ocaml/class/example.i
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
/* File : example.i */
|
||||
%module example
|
||||
|
||||
%{
|
||||
#include "example.h"
|
||||
%}
|
||||
|
||||
/* Let's just grab the original header file here */
|
||||
%include "example.h"
|
||||
Loading…
Add table
Add a link
Reference in a new issue