Update some documentation.

This commit is contained in:
Dr. Chat 2015-09-11 17:12:49 -05:00
parent cad23cea81
commit 2983b0c090
2 changed files with 4 additions and 2 deletions

View File

@ -34,8 +34,8 @@ class ExceptionHandler {
static bool Initialize();
// Install an exception handler. Returns an ID which you can save to remove
// this later. This will install the exception handler in the last place
// on Windows.
// this later. This will install the exception handler in the last place.
// TODO: ID support!
static uint32_t Install(Handler fn);
static bool Remove(uint32_t id);

View File

@ -54,6 +54,8 @@ bool ExceptionHandler::Initialize() {
uint32_t ExceptionHandler::Install(std::function<bool(Info* ex_info)> fn) {
handlers_.push_back(fn);
// TODO: ID support!
return 0;
}
}