[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:
Zackery Spytz 2019-01-11 17:53:38 -07:00
commit 96c5a95878
6 changed files with 164 additions and 4 deletions

View 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"