mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 03:23:03 +01:00
Misc
This commit is contained in:
parent
5fc0a2e55f
commit
21f3551b1e
@ -74,7 +74,7 @@ ModuleLoader::Module *ModuleLoader::loadModule(const Firebird::PathName& modPath
|
|||||||
|
|
||||||
/* Create an object file image from the given path */
|
/* Create an object file image from the given path */
|
||||||
retVal = NSCreateObjectFileImageFromFile(modPath.c_str(), &image);
|
retVal = NSCreateObjectFileImageFromFile(modPath.c_str(), &image);
|
||||||
if(retVal != NSObjectFileImageSuccess)
|
if (retVal != NSObjectFileImageSuccess)
|
||||||
{
|
{
|
||||||
switch(retVal)
|
switch(retVal)
|
||||||
{
|
{
|
||||||
@ -137,7 +137,7 @@ DarwinModule::~DarwinModule()
|
|||||||
|
|
||||||
void *DarwinModule::findSymbol(const Firebird::string& symName)
|
void *DarwinModule::findSymbol(const Firebird::string& symName)
|
||||||
{
|
{
|
||||||
NSSymbol symbol;
|
NSSymbol symbol;
|
||||||
|
|
||||||
symbol = NSLookupSymbolInModule(module, symName.c_str());
|
symbol = NSLookupSymbolInModule(module, symName.c_str());
|
||||||
if (symbol == NULL)
|
if (symbol == NULL)
|
||||||
|
Loading…
Reference in New Issue
Block a user