diff options
author | Paolo Molaro <lupus@oddwiz.org> | 2010-02-24 18:19:21 +0300 |
---|---|---|
committer | Paolo Molaro <lupus@oddwiz.org> | 2010-02-24 18:19:21 +0300 |
commit | 9e1f34dd2d7be45b2a3a6b1c133a4a1de8c3d864 (patch) | |
tree | 9f1fd0892998ef2491a682b6b4fde39d9b091d2b /samples/embed | |
parent | 8c30681105db63b4695f2c2b3e31ec3d694cf973 (diff) | |
parent | 05972f1287dd96633578d843b6fe46d1a25c4539 (diff) |
Wed Feb 24 15:47:16 CET 2010 Paolo Molaro <lupus@ximian.com>
* confiure.in, data/mono-2.pc.in, data/Makefile.am,
samples/embed/*: increase the API version.
svn path=/trunk/mono/; revision=152356
Diffstat (limited to 'samples/embed')
-rw-r--r-- | samples/embed/test-invoke.c | 3 | ||||
-rw-r--r-- | samples/embed/test-metadata.c | 3 | ||||
-rw-r--r-- | samples/embed/teste.c | 2 |
3 files changed, 5 insertions, 3 deletions
diff --git a/samples/embed/test-invoke.c b/samples/embed/test-invoke.c index a1c5cd7da05..8779ce3860e 100644 --- a/samples/embed/test-invoke.c +++ b/samples/embed/test-invoke.c @@ -5,12 +5,13 @@ #include <mono/metadata/debug-helpers.h> #include <string.h> #include <stdlib.h> +#include <glib.h> /* * Simple mono embedding example. * We show how to create objects and invoke methods and set fields in them. * Compile with: - * gcc -Wall -o test-invoke test-invoke.c `pkg-config --cflags --libs mono` -lm + * gcc -Wall -o test-invoke test-invoke.c `pkg-config --cflags --libs mono-2` -lm * mcs invoke.cs * Run with: * ./test-invoke invoke.exe diff --git a/samples/embed/test-metadata.c b/samples/embed/test-metadata.c index 689a30d55ac..bcf3041696e 100644 --- a/samples/embed/test-metadata.c +++ b/samples/embed/test-metadata.c @@ -1,10 +1,11 @@ #include <mono/jit/jit.h> +#include <glib.h> /* * Very simple mono embedding example. * This sample shows how to access metadata elements from an image. * Compile with: - * gcc -o test-metadata test-metadata.c `pkg-config --cflags --libs mono` -lm + * gcc -o test-metadata test-metadata.c `pkg-config --cflags --libs mono-2` -lm * Run with: * ./test-metadata namespace name */ diff --git a/samples/embed/teste.c b/samples/embed/teste.c index 258d8aa5fa8..2183ccbb50b 100644 --- a/samples/embed/teste.c +++ b/samples/embed/teste.c @@ -5,7 +5,7 @@ /* * Very simple mono embedding example. * Compile with: - * gcc -o teste teste.c `pkg-config --cflags --libs mono` -lm + * gcc -o teste teste.c `pkg-config --cflags --libs mono-2` -lm * mcs test.cs * Run with: * ./teste test.exe |