Skip to content

Commit 990b649

Browse files
committed
Tell emacs more about our C++ files.
svn path=/trunk/matplotlib/; revision=8766
1 parent 10170f1 commit 990b649

29 files changed

+452
-395
lines changed

src/_backend_agg.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
/* -*- mode: c++; c-basic-offset: 4 -*- */
2+
13
/* A rewrite of _backend_agg using PyCXX to handle ref counting, etc..
24
*/
35

src/_backend_agg.h

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
/* -*- mode: c++; c-basic-offset: 4 -*- */
2+
13
/* _backend_agg.h - A rewrite of _backend_agg using PyCXX to handle
24
ref counting, etc..
35
*/

src/_gtkagg.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
/* -*- mode: c++; c-basic-offset: 4 -*- */
2+
13
#include <pygobject.h>
24
#include <pygtk/pygtk.h>
35

src/_image.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
/* -*- mode: c++; c-basic-offset: 4 -*- */
2+
13
/* Python API mandates Python.h is included *first* */
24
#include "Python.h"
35
#include <string>

src/_image.h

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
/* -*- mode: c++; c-basic-offset: 4 -*- */
2+
13
/* image.h
24
*
35
*/
@@ -76,7 +78,7 @@ class Image : public Py::PythonExtension<Image>
7678
};
7779

7880
//enum { BICUBIC=0, BILINEAR, BLACKMAN100, BLACKMAN256, BLACKMAN64,
79-
// NEAREST, SINC144, SINC256, SINC64, SPLINE16, SPLINE36};
81+
// NEAREST, SINC144, SINC256, SINC64, SPLINE16, SPLINE36};
8082
enum { ASPECT_PRESERVE = 0, ASPECT_FREE};
8183

8284
agg::int8u *bufferIn;

src/_path.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
/* -*- mode: c++; c-basic-offset: 4 -*- */
2+
13
#include "agg_py_path_iterator.h"
24
#include "agg_py_transforms.h"
35
#include "path_converters.h"

src/_png.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/* -*- mode: c++; c-basic-offset: 4 -*- */
12

23
/* For linux, png.h must be imported before Python.h because
34
png.h needs to be the one to define setjmp.

0 commit comments

Comments
 (0)