summaryrefslogtreecommitdiff
path: root/include/m_core.h
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-01-11 22:23:57 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-01-11 22:24:06 +0300
commitd958e3fb847813075cc059bd5a7aa28252982268 (patch)
treed9c02a7ddee830628248219e9c83c7de3c335140 /include/m_core.h
parentc8e1c429321ed8aa2efce0fc00b6dfd08f1b2735 (diff)
strong typization - better typization
Diffstat (limited to 'include/m_core.h')
-rw-r--r--include/m_core.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/m_core.h b/include/m_core.h
index 30ba841309..efd7e6ba7c 100644
--- a/include/m_core.h
+++ b/include/m_core.h
@@ -43,8 +43,10 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#ifdef MIR_APP_EXPORTS
#define MIR_APP_EXPORT __declspec(dllexport)
+ typedef struct NetlibUser* HNETLIBUSER;
#else
#define MIR_APP_EXPORT __declspec(dllimport)
+ DECLARE_HANDLE(HNETLIBUSER);
#endif
#define MIR_APP_DLL(T) MIR_APP_EXPORT T __stdcall