summaryrefslogtreecommitdiffstats
path: root/base/native_library.h
diff options
context:
space:
mode:
Diffstat (limited to 'base/native_library.h')
-rw-r--r--base/native_library.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/base/native_library.h b/base/native_library.h
index 9809c98..2896163 100644
--- a/base/native_library.h
+++ b/base/native_library.h
@@ -52,8 +52,11 @@ typedef void* NativeLibrary;
#endif // OS_*
// Loads a native library from disk. Release it with UnloadNativeLibrary when
-// you're done.
-BASE_API NativeLibrary LoadNativeLibrary(const FilePath& library_path);
+// you're done. Returns NULL on failure.
+// If |err| is not NULL, it may be filled in with an error message on
+// error.
+BASE_API NativeLibrary LoadNativeLibrary(const FilePath& library_path,
+ std::string* error);
#if defined(OS_WIN)
// Loads a native library from disk. Release it with UnloadNativeLibrary when