projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Wed Feb 24 15:47:16 CET 2010 Paolo Molaro <lupus@ximian.com>
[mono.git]
/
samples
/
embed
/
test-metadata.c
diff --git
a/samples/embed/test-metadata.c
b/samples/embed/test-metadata.c
index 689a30d55ac4c1db090cb7128b3833d3e367d0ca..bcf3041696ede95c923bc4b7b5b12d1969e2eeab 100644
(file)
--- a/
samples/embed/test-metadata.c
+++ b/
samples/embed/test-metadata.c
@@
-1,10
+1,11
@@
#include <mono/jit/jit.h>
#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:
/*
* 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
*/
* Run with:
* ./test-metadata namespace name
*/