diff --git a/Examples/ocaml/simple/index.html b/Examples/ocaml/simple/index.html index dace471a3..9ae997be5 100644 --- a/Examples/ocaml/simple/index.html +++ b/Examples/ocaml/simple/index.html @@ -1,18 +1,18 @@ -SWIG:Examples:python:simple +SWIG:Examples:ocaml:simple -SWIG/Examples/python/simple/ +SWIG/Examples/ocaml/simple/
-

Simple Python Example

+

Simple Ocaml Example

-This example illustrates how you can hook Python to a very simple C program containing +This example illustrates how you can hook Ocaml to a very simple C program containing a function and a global variable.

The C Code

@@ -57,7 +57,7 @@ extern double Foo;

Compilation

    -
  1. swig -python example.i +
  2. swig -ocaml example.i

  3. Compile example_wrap.c and example.c to create the extension examplemodule.so. @@ -65,29 +65,29 @@ to create the extension examplemodule.so.

    Using the extension

    -Click here to see a script that calls our C functions from Python. +Click here to see a script that calls our C functions from Ocaml.

    Key points