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

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

Issue 843523002: Delete empty mojo python package, and prefix all python packages with mojo_ (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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/python/system/mojo/tests/validation_util.pyx ('k') | mojo/python/system/mojo_tests/__init__.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
similarity index 90%
rename from mojo/python/system/mojo/embedder.pyx
rename to mojo/python/system/mojo_embedder.pyx
index 16ff9afce5ac351c29a70c3de804d6c915b46433..75ae38797f46c2c75df79816d408bd28b1ea271c 100644
--- a/mojo/python/system/mojo/embedder.pyx
+++ b/mojo/python/system/mojo_embedder.pyx
@@ -7,8 +7,8 @@
from libc.stdint cimport uintptr_t
from libcpp cimport bool
-from mojo import system
-from mojo import system_impl
+import mojo_system
+import mojo_system_impl
cdef extern from "third_party/cython/python_export.h":
pass
@@ -43,8 +43,8 @@ def Init():
InitCEmbedder(scoped_ptr[PlatformSupport](
new SimplePlatformSupport()))
cdef MojoSystemThunks thunks = MojoMakeSystemThunks()
- system.SetSystemThunks(<uintptr_t>(&thunks))
- system_impl.SetSystemThunks(<uintptr_t>(&thunks))
+ mojo_system.SetSystemThunks(<uintptr_t>(&thunks))
+ mojo_system_impl.SetSystemThunks(<uintptr_t>(&thunks))
def ShutdownForTest():
return ShutdownCEmbedderForTest()
« no previous file with comments | « mojo/python/system/mojo/tests/validation_util.pyx ('k') | mojo/python/system/mojo_tests/__init__.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698