diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2014-01-01 14:12:38 +0000 |
---|---|---|
committer | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2014-01-01 14:12:38 +0000 |
commit | 28a25115062f7783bd333602a4dbf0818978e125 (patch) | |
tree | 8bcb640c0397bd4f1ac9c7dedd28186214044a7f /epan/wslua/init_wslua.h | |
parent | 6daf9fd15b0b63cef0bbd13cd574888f05d695f6 (diff) |
Add extern C for init_wslua (for future use in Wireshark Qt)
svn path=/trunk/; revision=54532
Diffstat (limited to 'epan/wslua/init_wslua.h')
-rw-r--r-- | epan/wslua/init_wslua.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/epan/wslua/init_wslua.h b/epan/wslua/init_wslua.h index 72d083eb96..89fcd02699 100644 --- a/epan/wslua/init_wslua.h +++ b/epan/wslua/init_wslua.h @@ -25,6 +25,10 @@ #ifndef __INIT_WSLUA_H__ #define __INIT_WSLUA_H__ +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + #include "ws_symbol_export.h" WS_DLL_PUBLIC int wslua_count_plugins(void); @@ -35,4 +39,8 @@ typedef void (*wslua_plugin_description_callback)(const char *, const char *, WS_DLL_PUBLIC void wslua_plugins_get_descriptions(wslua_plugin_description_callback callback, void *user_data); WS_DLL_PUBLIC void wslua_plugins_dump_all(void); +#ifdef __cplusplus +} +#endif /* __cplusplus */ + #endif /* __INIT_WSLUA_H__ */ |