// Created: 20/07/98
// RCS-ID: $Id$
// Copyright: (c) 1998 Guilhem Lavaux
-// Licence: wxWindows license
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef _WX_DYNLIB_H__
#define _WX_DYNLIB_H__
-#ifdef __GNUG__
-# pragma interface
+#if defined(__GNUG__) && !defined(__APPLE__)
+# pragma interface "dynlib.h"
#endif
#include "wx/setup.h"
#elif defined(__DARWIN__)
typedef void *wxDllType;
#elif defined(__WXMAC__)
- typedef CFragConnectionID wxDllType;
+ typedef void *wxDllType;
#else
# error "wxLibrary can't be compiled on this platform, sorry."
#endif // OS
Returns the pointer to the symbol or NULL on error.
*/
- static void *GetSymbol(wxDllType dllHandle, const wxString &name, bool success = 0);
+ static void *GetSymbol(wxDllType dllHandle,
+ const wxString &name,
+ bool *success = NULL);
// return the standard DLL extension (with leading dot) for this platform
static const wxString &GetDllExt() { return ms_dllext; }