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

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

Issue 792843002: Refactor the python system_impl module. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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/python/BUILD.gn ('k') | no next file » | 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 5d699c0d84360908abae80cb3712edf08b5bbc62..16ff9afce5ac351c29a70c3de804d6c915b46433 100644
--- a/mojo/python/system/mojo/embedder.pyx
+++ b/mojo/python/system/mojo/embedder.pyx
@@ -8,6 +8,7 @@ from libc.stdint cimport uintptr_t
from libcpp cimport bool
from mojo import system
+from mojo import system_impl
cdef extern from "third_party/cython/python_export.h":
pass
@@ -43,6 +44,7 @@ def Init():
new SimplePlatformSupport()))
cdef MojoSystemThunks thunks = MojoMakeSystemThunks()
system.SetSystemThunks(<uintptr_t>(&thunks))
+ system_impl.SetSystemThunks(<uintptr_t>(&thunks))
def ShutdownForTest():
return ShutdownCEmbedderForTest()
« no previous file with comments | « mojo/python/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698