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

Unified Diff: mojo/python/system/mojo/embedder.pyx

Issue 522483006: mojo: Update python API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Follow review Created 6 years, 3 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 | « mojo/public/python/mojo/system.pyx ('k') | mojo/python/tests/system_unittest.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/python/system/mojo/embedder.pyx
diff --git a/mojo/python/system/mojo/embedder.pyx b/mojo/python/system/mojo/embedder.pyx
index c7021f050e2fd0212257612937d44724868447a7..06ac22f7cced17ac7fa10ab86ee4fb9c0aa61ddd 100644
--- a/mojo/python/system/mojo/embedder.pyx
+++ b/mojo/python/system/mojo/embedder.pyx
@@ -34,8 +34,8 @@ cdef extern from "mojo/public/platform/native/system_thunks.h" nogil:
pass
cdef MojoSystemThunks MojoMakeSystemThunks()
-def init():
+def Init():
InitCEmbedder(scoped_ptr[PlatformSupport](
new SimplePlatformSupport()))
cdef MojoSystemThunks thunks = MojoMakeSystemThunks()
- system.set_system_thunks(<uintptr_t>(&thunks))
+ system.SetSystemThunks(<uintptr_t>(&thunks))
« no previous file with comments | « mojo/public/python/mojo/system.pyx ('k') | mojo/python/tests/system_unittest.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698