diff options
Diffstat (limited to 'src/core/loader/elf.h')
| -rw-r--r-- | src/core/loader/elf.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/core/loader/elf.h b/src/core/loader/elf.h index 2e6b80982..708281478 100644 --- a/src/core/loader/elf.h +++ b/src/core/loader/elf.h | |||
| @@ -329,3 +329,18 @@ public: | |||
| 329 | return bRelocate; | 329 | return bRelocate; |
| 330 | } | 330 | } |
| 331 | }; | 331 | }; |
| 332 | |||
| 333 | //////////////////////////////////////////////////////////////////////////////////////////////////// | ||
| 334 | // Loader namespace | ||
| 335 | |||
| 336 | namespace Loader { | ||
| 337 | |||
| 338 | /** | ||
| 339 | * Loads an ELF file | ||
| 340 | * @param filename String filename of ELF file | ||
| 341 | * @param error_string Pointer to string to put error message if an error has occurred | ||
| 342 | * @return True on success, otherwise false | ||
| 343 | */ | ||
| 344 | bool Load_ELF(std::string& filename, std::string* error_string); | ||
| 345 | |||
| 346 | } // namespace Loader | ||