Index: mojo/public/python/mojo/c_thunks.pxd |
diff --git a/mojo/public/python/mojo/c_thunks.pxd b/mojo/public/python/mojo/c_thunks.pxd |
new file mode 100644 |
index 0000000000000000000000000000000000000000..ec88c299744269c0e2cf18009be0ee6c8c2caac6 |
--- /dev/null |
+++ b/mojo/public/python/mojo/c_thunks.pxd |
@@ -0,0 +1,15 @@ |
+# Copyright 2014 The Chromium Authors. All rights reserved. |
+# Use of this source code is governed by a BSD-style license that can be |
+# found in the LICENSE file. |
+ |
+# distutils: language = c++ |
+ |
+ |
+cdef extern from "third_party/cython/python_export.h": |
qsr
2014/12/12 12:27:46
I don't think you need this one.
etiennej
2014/12/12 13:39:46
I do need it. Added a comment.
|
+ pass |
+ |
+cdef extern from "mojo/public/platform/native/system_thunks.h" nogil: |
+ cdef struct MojoSystemThunks: |
+ pass |
+ |
+cdef extern size_t MojoSetSystemThunks(const MojoSystemThunks* system_thunks) |