Speculative fix - try to avoid crashes if hooked dlopen is called early

* This isn't particularly stable/nice, probably needs a complete rethink
This commit is contained in:
baldurk
2015-10-01 00:51:22 +02:00
parent e2871e1245
commit 079a44b4a9
4 changed files with 21 additions and 1 deletions
+2
View File
@@ -26,6 +26,8 @@
typedef void (*dlopenCallback)(void *realLib);
void LinuxHookInit();
// if this name is dlopen'd, the real library will be passed
// to the callback and librenderdoc.so will be returned to user code
void LinuxHookLibrary(const char *name, dlopenCallback cb);