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

Unified Diff: mojo/system/memory.h

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.h
diff --git a/mojo/system/memory.h b/mojo/system/memory.h
index cca3acab4697f3ca0b8cc95454375631da6c6c90..963974abf9cb72b66b33fab0b2c33424b87d3d3d 100644
--- a/mojo/system/memory.h
+++ b/mojo/system/memory.h
@@ -7,6 +7,8 @@
#include <stddef.h>
+#include "mojo/public/system/system_export.h"
+
namespace mojo {
namespace system {
@@ -14,7 +16,8 @@ namespace system {
// instantiations in the .cc file. This is used by |VerifyUserPointer<T>()|
// below, and you should use that instead.
template <size_t size>
-bool VerifyUserPointerForSize(const void* pointer, size_t count);
+bool MOJO_SYSTEM_EXPORT VerifyUserPointerForSize(const void* pointer,
+ size_t count);
// Verify that |count * sizeof(T)| bytes can be read from the user |pointer|
// insofar as possible/necessary (note: this is done carefully since |count *
« build/all.gyp ('K') | « mojo/system/dispatcher.h ('k') | mojo/system/memory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698