summaryrefslogtreecommitdiff
path: root/tests/build
diff options
context:
space:
mode:
authorStefan Behnel <stefan_ml@behnel.de>2014-10-03 09:23:12 +0200
committerStefan Behnel <stefan_ml@behnel.de>2014-10-03 09:23:12 +0200
commit88df97f250073d8a06f965d6a7e09d8fe6f4ca63 (patch)
tree6101059c8e066ecf5161f92ad7bf651d42550281 /tests/build
parent0f6e78a73aade32ef5c62efbfcc8148012feace3 (diff)
downloadcython-88df97f250073d8a06f965d6a7e09d8fe6f4ca63.tar.gz
implement'language='c++' option for cythonize()
Diffstat (limited to 'tests/build')
-rw-r--r--tests/build/cpp_cythonize.srctree4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/build/cpp_cythonize.srctree b/tests/build/cpp_cythonize.srctree
index a86ebc178..d69770c15 100644
--- a/tests/build/cpp_cythonize.srctree
+++ b/tests/build/cpp_cythonize.srctree
@@ -10,13 +10,11 @@ from Cython.Build.Dependencies import cythonize
from distutils.core import setup
setup(
- ext_modules = cythonize("*.pyx"),
+ ext_modules = cythonize("*.pyx", language='c++'),
)
######## a.pyx ########
-# distutils: language = c++
-
from libcpp.vector cimport vector
def use_vector(L):