aboutsummaryrefslogtreecommitdiffstats
path: root/testdso.c
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2005-01-04 15:10:22 +0000
committerDaniel Veillard <veillard@src.gnome.org>2005-01-04 15:10:22 +0000
commitce1648b124a9d8decd453185852b0927d311a3aa (patch)
tree01123765a7cc9ddc083caa7779d1a7e4538d9707 /testdso.c
parent7a3447a592a784caf238338d39291e27faa822de (diff)
downloadandroid_external_libxml2-ce1648b124a9d8decd453185852b0927d311a3aa.tar.gz
android_external_libxml2-ce1648b124a9d8decd453185852b0927d311a3aa.tar.bz2
android_external_libxml2-ce1648b124a9d8decd453185852b0927d311a3aa.zip
applied DSO support patch 2 from Joel Reed Daniel
* Makefile.am config.h.in configure.in error.c libxml-2.0.pc.in testModule.c testdso.c xml2-config.in xmllint.c xmlmodule.c include/libxml/Makefile.am include/libxml/xmlerror.h include/libxml/xmlmodule.h include/libxml/xmlversion.h.in include/libxml/xmlwin32version.h.in: applied DSO support patch 2 from Joel Reed Daniel
Diffstat (limited to 'testdso.c')
-rw-r--r--testdso.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/testdso.c b/testdso.c
new file mode 100644
index 00000000..6c4652f6
--- /dev/null
+++ b/testdso.c
@@ -0,0 +1,10 @@
+#include <stdio.h>
+
+#define IN_LIBXML
+#include "libxml/xmlexports.h"
+
+XMLPUBFUN int hello_world()
+{
+ printf("Success!\n");
+ return 0;
+}