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)) |