Index: mojo/public/python/mojo/c_export.pxd |
diff --git a/mojo/public/python/mojo/c_export.pxd b/mojo/public/python/mojo/c_export.pxd |
new file mode 100644 |
index 0000000000000000000000000000000000000000..2e261183ed1b020af9118d58597fe00ccd39d730 |
--- /dev/null |
+++ b/mojo/public/python/mojo/c_export.pxd |
@@ -0,0 +1,11 @@ |
+# 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++ |
+ |
+ |
+# If the definition below is not present, cython-compiled modules do not expose |
+# an init method as they should. |
+cdef extern from "third_party/cython/python_export.h": |
+ pass |