1226 |
1226 |
1227 loadObjectFile:aFileName |
1227 loadObjectFile:aFileName |
1228 "load an object file (.o-file) into the image; |
1228 "load an object file (.o-file) into the image; |
1229 the class name is not needed (multiple definitions may be in the file). |
1229 the class name is not needed (multiple definitions may be in the file). |
1230 This may be either a smalltalk object or a C-object file. |
1230 This may be either a smalltalk object or a C-object file. |
1231 The object files init function (if any) is called, and the module |
1231 The object file's init function (if any) is called, and the module |
1232 is unloaded if it returns failure (use lowLevel load, to load a file |
1232 is unloaded if it returns failure (use lowLevel load, to load a file |
1233 without automatic initialization). |
1233 without automatic initialization). |
1234 Return nil on error, an objectFile handle if ok." |
1234 Return nil on error, an objectFile handle if ok." |
1235 |
1235 |
1236 ^ self |
1236 ^ self |
1237 loadObjectFile:aFileName |
1237 loadObjectFile:aFileName |
1238 invokeInitializeMethods:true |
1238 invokeInitializeMethods:true |
|
1239 |
|
1240 "Modified (comment): / 10-04-2019 / 05:47:49 / Claus Gittinger" |
1239 ! |
1241 ! |
1240 |
1242 |
1241 loadObjectFile:pathNameOrFilename invokeInitializeMethods:invokeInitializeMethods |
1243 loadObjectFile:pathNameOrFilename invokeInitializeMethods:invokeInitializeMethods |
1242 "load an object file (.dll or .so-file) into the image; |
1244 "load an object file (.dll or .so-file) into the image; |
1243 the class name is not needed (multiple definitions may be in the file). |
1245 the class name is not needed (multiple definitions may be in the file). |