summaryrefslogtreecommitdiff
path: root/include/m_core.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-10-10 07:04:26 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-10-10 07:04:26 +0000
commited10055737300c07e485eb22b27ccf92ffadab7c (patch)
tree8f873da3fb333301c9cd9c36ce5c3bcb87e55532 /include/m_core.h
parent2df45c323dff08d54e21f9a99610cb69d2d01075 (diff)
git-svn-id: http://svn.miranda-ng.org/main/trunk@1856 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include/m_core.h')
-rw-r--r--include/m_core.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/m_core.h b/include/m_core.h
index 0deec3269b..33473dda71 100644
--- a/include/m_core.h
+++ b/include/m_core.h
@@ -87,8 +87,13 @@ typedef struct {
MIR_CORE_DLL(INT_PTR) db_free(DBVARIANT *dbv);
MIR_CORE_DLL(INT_PTR) db_unset(HANDLE hContact, const char *szModule, const char *szSetting);
+#if defined(__cplusplus)
MIR_CORE_DLL(HANDLE) db_find_first(const char *szProto = NULL);
MIR_CORE_DLL(HANDLE) db_find_next(HANDLE hContact, const char *szProto = NULL);
+#else
+MIR_CORE_DLL(HANDLE) db_find_first(const char *szProto);
+MIR_CORE_DLL(HANDLE) db_find_next(HANDLE hContact, const char *szProto);
+#endif
MIR_CORE_DLL(int) db_get_b(HANDLE hContact, const char *szModule, const char *szSetting, int errorValue);
MIR_CORE_DLL(int) db_get_w(HANDLE hContact, const char *szModule, const char *szSetting, int errorValue);