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

Unified Diff: mojo/system/memory.cc

Issue 25895002: Simple shell that loads a dll and calls an entrypoint function passing in a handle to a pipe create… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: exports to template instantiations Created 7 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
Index: mojo/system/memory.cc
diff --git a/mojo/system/memory.cc b/mojo/system/memory.cc
index fe7edef3da3f4a3871171a19f197c65d4e2b70c6..f20b61ddd546ef4833053bdbd69b9603080bb1e2 100644
--- a/mojo/system/memory.cc
+++ b/mojo/system/memory.cc
@@ -23,8 +23,10 @@ bool VerifyUserPointerForSize(const void* pointer, size_t count) {
}
// Explicitly instantiate the sizes we need. Add instantiations as needed.
-template bool VerifyUserPointerForSize<1>(const void*, size_t);
-template bool VerifyUserPointerForSize<4>(const void*, size_t);
+template MOJO_SYSTEM_EXPORT bool VerifyUserPointerForSize<1>(
+ const void*, size_t);
+template MOJO_SYSTEM_EXPORT bool VerifyUserPointerForSize<4>(
+ const void*, size_t);
} // namespace system
} // namespace mojo
« build/all.gyp ('K') | « mojo/system/memory.h ('k') | mojo/system/message_pipe.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698