X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ae3c17b4013e80b99976c750c19fca47729517f6..7344108e8a129a3f9b4df5ab0f98a1713db03b89:/interface/wx/dynlib.h?ds=sidebyside diff --git a/interface/wx/dynlib.h b/interface/wx/dynlib.h index 3392ef4f19..6445f9d425 100644 --- a/interface/wx/dynlib.h +++ b/interface/wx/dynlib.h @@ -3,12 +3,11 @@ // Purpose: interface of wxDynamicLibrary and wxDynamicLibraryDetails // Author: wxWidgets team // RCS-ID: $Id$ -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// /** @class wxDynamicLibraryDetails - @wxheader{dynlib.h} This class is used for the objects returned by the wxDynamicLibrary::ListLoaded() method and contains the information about a @@ -35,7 +34,7 @@ public: @return @true if the load address and module size were retrieved, @false if this information is not available. */ - bool GetAddress(void** addr, size_t len) const; + bool GetAddress(void* addr, size_t* len) const; /** Returns the base name of this module, e.g. @c "kernel32.dll" or @@ -80,10 +79,9 @@ enum wxPluginCategory /** @class wxDynamicLibrary - @wxheader{dynlib.h} wxDynamicLibrary is a class representing dynamically loadable library - (Windows DLL, shared library under Unix etc.). Just create an object of + (Windows DLL, shared library under Unix etc). Just create an object of this class to load a library and don't worry about unloading it -- it will be done in the objects destructor automatically. @@ -158,7 +156,7 @@ public: @see wxDYNLIB_FUNCTION() */ - void* GetSymbol(const wxString& name) const; + void* GetSymbol(const wxString& name, bool* success = 0) const; /** This function is available only under Windows as it is only useful when @@ -168,6 +166,8 @@ public: function, you can use just the base name of the function and the correct suffix is appended automatically depending on the current build. Otherwise, this method is identical to GetSymbol(). + + @onlyfor{wxmsw} */ void* GetSymbolAorW(const wxString& name) const; @@ -229,7 +229,7 @@ public: // Global functions/macros // ============================================================================ -/** @ingroup group_funcmacro_misc */ +/** @addtogroup group_funcmacro_misc */ //@{ /**