aboutsummaryrefslogtreecommitdiff
path: root/libxml2-2.9.10/testdso.c
diff options
context:
space:
mode:
Diffstat (limited to 'libxml2-2.9.10/testdso.c')
-rw-r--r--libxml2-2.9.10/testdso.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/libxml2-2.9.10/testdso.c b/libxml2-2.9.10/testdso.c
new file mode 100644
index 0000000..bd4ff08
--- /dev/null
+++ b/libxml2-2.9.10/testdso.c
@@ -0,0 +1,12 @@
+#include <stdio.h>
+
+#define IN_LIBXML
+#include "libxml/xmlexports.h"
+
+XMLPUBFUN int hello_world(void);
+
+int hello_world(void)
+{
+ printf("Success!\n");
+ return 0;
+}