Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Modify the Py_RETURN_* macros to be of the form ``do {...} while (0)`` in order | Brett Cannon | 2003-10-19 | 1 | -2/+2 |
| | | | | to handle situations like ``if (foo) Py_RETURN_NONE else ...``. | ||||
* | Modified the Py_RETURN_* macros by having the statements surrounded by {} in | Brett Cannon | 2003-10-19 | 1 | -2/+2 |
| | | | | | order to prevent any unexpected surprises from someone using them in a conditional without using curly braces (e.g., ``if (foo) Py_RETURN_TRUE``. | ||||
* | Defined macros Py_RETURN_(TRUE|FALSE|NONE) as helper functions for returning | Brett Cannon | 2003-10-19 | 1 | -0/+4 |
| | | | | the specified value. All three Py_INCREF the singleton and then return it. | ||||
* | Excise DL_EXPORT from Include. | Mark Hammond | 2002-08-12 | 1 | -3/+3 |
| | | | | Thanks to Skip Montanaro and Kalle Svensson for the patches. | ||||
* | Patch #551008: DL_IMPORT PyBool_FromLong. | Martin v. Löwis | 2002-05-02 | 1 | -1/+1 |
| | |||||
* | Add standard header preamble and footer, a-la intobject.h. Main purpose is ↵ | Mark Hammond | 2002-04-06 | 1 | -0/+12 |
| | | | | extern "C" for C++ programs. | ||||
* | Oops. Here are the new files. My apologies. | Guido van Rossum | 2002-04-03 | 1 | -0/+20 |