Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(779)

Unified Diff: runtime/bin/extensions.h

Issue 1403683007: Fix for issue 23908 - error message reports the exact error when a native extension fails to load. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: self-review-comments Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | runtime/bin/extensions.cc » ('j') | runtime/bin/extensions_android.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/extensions.h
diff --git a/runtime/bin/extensions.h b/runtime/bin/extensions.h
index 25dbfeb13092fb047042a1ea2178af9ba5dd3f28..7911131cded6e11ede85e1fe243b6419114f2157 100644
--- a/runtime/bin/extensions.h
+++ b/runtime/bin/extensions.h
@@ -22,8 +22,11 @@ class Extensions {
Dart_Handle parent_library);
// Platform-specific implementations.
- static void* LoadExtensionLibrary(const char* library_file);
- static void* ResolveSymbol(void* lib_handle, const char* symbol);
+ static Dart_Handle LoadExtensionLibrary(const char* library_file,
+ void** library);
+ static Dart_Handle ResolveSymbol(void* lib_handle,
+ const char* symbol,
+ void** init_func);
private:
// The returned string must be freed.
« no previous file with comments | « no previous file | runtime/bin/extensions.cc » ('j') | runtime/bin/extensions_android.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698