Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(23)

Side by Side Diff: swig/Lib/python/pyname_compat.i

Issue 553095: Checkin swig binaries for win, linux and Mac... (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/
Patch Set: '' Created 10 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « swig/Lib/python/pymacros.swg ('k') | swig/Lib/python/pyopers.swg » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 /*
2 * From SWIG 1.3.37 we deprecated all SWIG symbols that start with Py,
3 * since they are inappropriate and discouraged in Python documentation
4 * (from http://www.python.org/doc/2.5.2/api/includes.html):
5 *
6 * "All user visible names defined by Python.h (except those defined by the inclu ded
7 * standard headers) have one of the prefixes "Py" or "_Py". Names beginning with
8 * "_Py" are for internal use by the Python implementation and should not be used
9 * by extension writers. Structure member names do not have a reserved prefix.
10 *
11 * Important: user code should never define names that begin with "Py" or "_Py".
12 * This confuses the reader, and jeopardizes the portability of the user code to
13 * future Python versions, which may define additional names beginning with one
14 * of these prefixes."
15 *
16 * This file defined macros to provide backward compatibility for these deprecate d
17 * symbols. In the case you have these symbols in your interface file, you can si mply
18 * include this file at beginning of it.
19 *
20 * However, this file may be removed in future release of SWIG, so using this fil e to
21 * keep these inappropriate names in your SWIG interface file is also not recomme nded.
22 * Instead, we provide a simple tool for converting your interface files to
23 * the new naming convention. You can download the tool here:
24 * https://swig.svn.sourceforge.net/svnroot/swig/trunk/Tools/pyname_patch.py
25 */
26
27 %fragment("PySequence_Base", "header", fragment="SwigPySequence_Base") {}
28 %fragment("PySequence_Cont", "header", fragment="SwigPySequence_Cont") {}
29 %fragment("PySwigIterator_T", "header", fragment="SwigPyIterator_T") {}
30 %fragment("PyPairBoolOutputIterator", "header", fragment="SwigPyPairBoolOutputIt erator") {}
31 %fragment("PySwigIterator", "header", fragment="SwigPyIterator") {}
32 %fragment("PySwigIterator_T", "header", fragment="SwigPyIterator_T") {}
33
34 %inline %{
35 #define PyMapIterator_T SwigPyMapIterator_T
36 #define PyMapKeyIterator_T SwigPyMapKeyIterator_T
37 #define PyMapValueIterator_T SwigPyMapValueITerator_T
38 #define PyObject_ptr SwigPtr_PyObject
39 #define PyObject_var SwigVar_PyObject
40 #define PyOper SwigPyOper
41 #define PySeq SwigPySeq
42 #define PySequence_ArrowProxy SwigPySequence_ArrowProxy
43 #define PySequence_Cont SwigPySequence_Cont
44 #define PySequence_InputIterator SwigPySequence_InputIterator
45 #define PySequence_Ref SwigPySequence_Ref
46 #define PySwigClientData SwigPyClientData
47 #define PySwigClientData_Del SwigPyClientData_Del
48 #define PySwigClientData_New SwigPyClientData_New
49 #define PySwigIterator SwigPyIterator
50 #define PySwigIteratorClosed_T SwigPyIteratorClosed_T
51 #define PySwigIteratorOpen_T SwigPyIteratorOpen_T
52 #define PySwigIterator_T SwigPyIterator_T
53 #define PySwigObject SwigPyObject
54 #define PySwigObject_Check SwigPyObject_Check
55 #define PySwigObject_GetDesc SwigPyObject_GetDesc
56 #define PySwigObject_New SwigPyObject_New
57 #define PySwigObject_acquire SwigPyObject_acquire
58 #define PySwigObject_append SwigPyObject_append
59 #define PySwigObject_as_number SwigPyObject_as_number
60 #define PySwigObject_compare SwigPyObject_compare
61 #define PySwigObject_dealloc SwigPyObject_dealloc
62 #define PySwigObject_disown SwigPyObject_disown
63 #define PySwigObject_format SwigPyObject_format
64 #define PySwigObject_getattr SwigPyObject_getattr
65 #define PySwigObject_hex SwigPyObject_hex
66 #define PySwigObject_long SwigPyObject_long
67 #define PySwigObject_next SwigPyObject_next
68 #define PySwigObject_oct SwigPyObject_oct
69 #define PySwigObject_own SwigPyObject_own
70 #define PySwigObject_print SwigPyObject_print
71 #define PySwigObject_repr SwigPyObject_repr
72 #define PySwigObject_richcompare SwigPyObject_richcompare
73 #define PySwigObject_str SwigPyObject_str
74 #define PySwigObject_type SwigPyObject_type
75 #define PySwigPacked SwigPyPacked
76 #define PySwigPacked_Check SwigPyPacked_Check
77 #define PySwigPacked_New SwigPyPacked_New
78 #define PySwigPacked_UnpackData SwigPyPacked_UnpackData
79 #define PySwigPacked_compare SwigPyPacked_compare
80 #define PySwigPacked_dealloc SwigPyPacked_dealloc
81 #define PySwigPacked_print SwigPyPacked_print
82 #define PySwigPacked_repr SwigPyPacked_repr
83 #define PySwigPacked_str SwigPyPacked_str
84 #define PySwigPacked_type SwigPyPacked_type
85 #define pyseq swigpyseq
86 #define pyswigobject_type swigpyobject_type
87 #define pyswigpacked_type swigpypacked_type
88 %}
OLDNEW
« no previous file with comments | « swig/Lib/python/pymacros.swg ('k') | swig/Lib/python/pyopers.swg » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698