Loader: Cleaned up and removed unused code, refactored ELF namespace.

This commit is contained in:
bunnei 2014-06-16 23:18:10 -04:00
parent 1da361c7ab
commit 13bdaa6c60
4 changed files with 70 additions and 209 deletions

View file

@ -329,3 +329,18 @@ public:
return bRelocate;
}
};
////////////////////////////////////////////////////////////////////////////////////////////////////
// Loader namespace
namespace Loader {
/**
* Loads an ELF file
* @param filename String filename of ELF file
* @param error_string Pointer to string to put error message if an error has occurred
* @return True on success, otherwise false
*/
bool Load_ELF(std::string& filename, std::string* error_string);
} // namespace Loader