[OCaml] Add a callback example

It is based on the the Python and Go examples.
This commit is contained in:
Zackery Spytz 2019-01-16 00:53:13 -07:00
commit a641966e0b
7 changed files with 95 additions and 2 deletions

View file

@ -0,0 +1,10 @@
/* File : example.i */
%module(directors="1") example
%{
#include "example.h"
%}
%feature("director") Callback;
%include "example.h"