diff options
author | lerbuke <38882088+lerbuke@users.noreply.github.com> | 2018-10-15 18:47:24 +0200 |
---|---|---|
committer | Matti Picus <matti.picus@gmail.com> | 2018-10-15 19:47:24 +0300 |
commit | 86ebcffb482afb67c2f6ec4f396d9017ea610bf1 (patch) | |
tree | 4f9830033eecccae72c1384b6b113c5c695dc3bf /numpy/core/include | |
parent | e104f03ac8f65ae5b92a9b413b0fa639f39e6de2 (diff) | |
download | numpy-86ebcffb482afb67c2f6ec4f396d9017ea610bf1.tar.gz |
MAINT: Update ndarrayobject.h `__cplusplus` block. (#12145)
Diffstat (limited to 'numpy/core/include')
-rw-r--r-- | numpy/core/include/numpy/ndarrayobject.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/numpy/core/include/numpy/ndarrayobject.h b/numpy/core/include/numpy/ndarrayobject.h index 12fc7098c..45f008b1d 100644 --- a/numpy/core/include/numpy/ndarrayobject.h +++ b/numpy/core/include/numpy/ndarrayobject.h @@ -5,13 +5,7 @@ #ifndef NPY_NDARRAYOBJECT_H #define NPY_NDARRAYOBJECT_H #ifdef __cplusplus -#define CONFUSE_EMACS { -#define CONFUSE_EMACS2 } -extern "C" CONFUSE_EMACS -#undef CONFUSE_EMACS -#undef CONFUSE_EMACS2 -/* ... otherwise a semi-smart identer (like emacs) tries to indent - everything when you're typing */ +extern "C" { #endif #include <Python.h> |