summaryrefslogtreecommitdiff
path: root/include/m_core.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2025-04-02 14:04:32 +0300
committerGeorge Hazan <george.hazan@gmail.com>2025-04-02 14:04:32 +0300
commit2767c88fe4dd51e87e74b8d44cda2a7ea54c63b7 (patch)
treebd202d4b48b9c453727905d446b996cf832a696d /include/m_core.h
parent86cb2d6947b6c352313628500d40055145c4b128 (diff)
stronger types - better types
Diffstat (limited to 'include/m_core.h')
-rw-r--r--include/m_core.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/include/m_core.h b/include/m_core.h
index 947c37ed83..a9f7f4d252 100644
--- a/include/m_core.h
+++ b/include/m_core.h
@@ -48,16 +48,14 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#ifdef MIR_APP_EXPORTS
#define MIR_APP_EXPORT MIR_EXPORT
- typedef struct NetlibUser* HNETLIBUSER;
- typedef struct NetlibConnection* HNETLIBCONN;
- typedef struct NetlibBoundPort* HNETLIBBIND;
#else
#define MIR_APP_EXPORT MIR_IMPORT
- DECLARE_HANDLE(HNETLIBUSER);
- DECLARE_HANDLE(HNETLIBCONN);
- DECLARE_HANDLE(HNETLIBBIND);
#endif
+typedef struct NetlibUser* HNETLIBUSER;
+typedef struct NetlibBoundPort* HNETLIBBIND;
+typedef struct NetlibConnection* HNETLIBCONN;
+
typedef struct TMO_IntMenuItem* HGENMENU;
class CMPluginBase;