summaryrefslogtreecommitdiff
path: root/src/plugins/sample.def
diff options
context:
space:
mode:
authorai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-12-29 05:14:16 +0000
committerai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-12-29 05:14:16 +0000
commit71201030aedb473d67f15c4ab72ba21c60cca30b (patch)
tree8bcb37646c504cd3ece8864a2804f013f8a9df7d /src/plugins/sample.def
parentb5633db9744bff512eef665054a2622780a7ab6c (diff)
downloadhercules-71201030aedb473d67f15c4ab72ba21c60cca30b.tar.gz
hercules-71201030aedb473d67f15c4ab72ba21c60cca30b.tar.bz2
hercules-71201030aedb473d67f15c4ab72ba21c60cca30b.tar.xz
hercules-71201030aedb473d67f15c4ab72ba21c60cca30b.zip
* Fixed 'console' plugin not working on Windows, due to NULL passed to CreateThread instead of required pointer to thread id variable.
- Fixed 'console' plugin causing delete_timer error when it fails to load, due to uninitialized variable. * Renamed plugin.def to sample.def and added 'sample' plugin exports into it, as it's purpose is nothing than a sample right now. - Also added .def files for 'gui' and 'pid' plugins as MSVC does not export everything automatically and missing event export cause the plugins silently failing. - Added VS6, VS8 and VS9 projects for compiling plug-ins, which can be used on Windows. * The plug-in system will now report, if it cannot import an event function. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14638 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/plugins/sample.def')
-rw-r--r--src/plugins/sample.def11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/plugins/sample.def b/src/plugins/sample.def
new file mode 100644
index 000000000..f5c4af652
--- /dev/null
+++ b/src/plugins/sample.def
@@ -0,0 +1,11 @@
+EXPORTS
+ ; common exports
+ plugin_info DATA
+ plugin_event_table DATA
+ plugin_call_table DATA
+
+ ; plugin-specific exports
+ test_me
+ do_init
+ do_final
+ some_function