Platforms to show: All Mac Windows Linux Cross-Platform
Back to DeclareLibraryMBS class.
DeclareLibraryMBS.Constructor(LibFile as folderItem)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynamicDeclares | MBS Util Plugin | 20.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Pass path to DLL on Windows, dylib on MacOS or so file on Linux.
Raises exception in case of problems.
See also:
DeclareLibraryMBS.Constructor(LibPath as string)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynamicDeclares | MBS Util Plugin | 20.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Pass path to DLL on Windows, dylib on MacOS or so file on Linux.
Raises exception in case of problems.
See also:
DeclareLibraryMBS.Symbol(name as string) as ptr
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynamicDeclares | MBS Util Plugin | 20.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Returns nil if not found.
DeclareLibraryMBS.SymbolName(index as Integer) as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynamicDeclares | MBS Util Plugin | 20.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Index is in range from 0 to SymbolCount-1.
See also:
DeclareLibraryMBS.SymbolName(p as Ptr) as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynamicDeclares | MBS Util Plugin | 20.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Looks up the symbol table to find the entry with the right pointer and returns the name.
Returns "" if not found.
See also:
DeclareLibraryMBS.SymbolNames as string()
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynamicDeclares | MBS Util Plugin | 20.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
This may show more symbols as defined in public C headers.
Some examples using this method:
The items on this page are in the following plugins: MBS Util Plugin.