mirror of
https://github.com/python/cpython.git
synced 2025-09-14 04:37:29 +00:00
Untabify C files. Will watch buildbots.
This commit is contained in:
parent
368ede83d9
commit
c83ea137d7
318 changed files with 198669 additions and 198669 deletions
|
@ -103,7 +103,7 @@ bytes(cdata)
|
|||
* PyCField_Type
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
#define PY_SSIZE_T_CLEAN
|
||||
|
||||
#include "Python.h"
|
||||
|
@ -140,7 +140,7 @@ static PyObject *_unpickle;
|
|||
char *_ctypes_conversion_encoding = NULL;
|
||||
char *_ctypes_conversion_errors = NULL;
|
||||
|
||||
|
||||
|
||||
/****************************************************************/
|
||||
|
||||
#if (PY_VERSION_HEX < 0x02040000)
|
||||
|
@ -825,7 +825,7 @@ static PyTypeObject UnionType_Type = {
|
|||
0, /* tp_free */
|
||||
};
|
||||
|
||||
|
||||
|
||||
/******************************************************************/
|
||||
|
||||
/*
|
||||
|
@ -1061,7 +1061,7 @@ PyTypeObject PyCPointerType_Type = {
|
|||
0, /* tp_free */
|
||||
};
|
||||
|
||||
|
||||
|
||||
/******************************************************************/
|
||||
/*
|
||||
PyCArrayType_Type
|
||||
|
@ -1475,7 +1475,7 @@ PyTypeObject PyCArrayType_Type = {
|
|||
0, /* tp_free */
|
||||
};
|
||||
|
||||
|
||||
|
||||
/******************************************************************/
|
||||
/*
|
||||
PyCSimpleType_Type
|
||||
|
@ -2379,7 +2379,7 @@ PyTypeObject PyCFuncPtrType_Type = {
|
|||
0, /* tp_free */
|
||||
};
|
||||
|
||||
|
||||
|
||||
/*****************************************************************
|
||||
* Code to keep needed objects alive
|
||||
*/
|
||||
|
@ -2944,7 +2944,7 @@ PyCData_set(PyObject *dst, PyObject *type, SETFUNC setfunc, PyObject *value,
|
|||
return KeepRef(mem, index, result);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/******************************************************************/
|
||||
static PyObject *
|
||||
GenericPyCData_new(PyTypeObject *type, PyObject *args, PyObject *kwds)
|
||||
|
@ -4027,7 +4027,7 @@ PyTypeObject PyCFuncPtr_Type = {
|
|||
PyCFuncPtr_new, /* tp_new */
|
||||
0, /* tp_free */
|
||||
};
|
||||
|
||||
|
||||
/*****************************************************************/
|
||||
/*
|
||||
Struct_Type
|
||||
|
@ -4217,7 +4217,7 @@ static PyTypeObject Union_Type = {
|
|||
0, /* tp_free */
|
||||
};
|
||||
|
||||
|
||||
|
||||
/******************************************************************/
|
||||
/*
|
||||
PyCArray_Type
|
||||
|
@ -4681,7 +4681,7 @@ PyCArrayType_from_ctype(PyObject *itemtype, Py_ssize_t length)
|
|||
return result;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/******************************************************************/
|
||||
/*
|
||||
Simple_Type
|
||||
|
@ -4850,7 +4850,7 @@ static PyTypeObject Simple_Type = {
|
|||
GenericPyCData_new, /* tp_new */
|
||||
0, /* tp_free */
|
||||
};
|
||||
|
||||
|
||||
/******************************************************************/
|
||||
/*
|
||||
PyCPointer_Type
|
||||
|
@ -5271,7 +5271,7 @@ PyTypeObject PyCPointer_Type = {
|
|||
0, /* tp_free */
|
||||
};
|
||||
|
||||
|
||||
|
||||
/******************************************************************/
|
||||
/*
|
||||
* Module initialization.
|
||||
|
|
|
@ -339,7 +339,7 @@ PyTypeObject PyCField_Type = {
|
|||
0, /* tp_free */
|
||||
};
|
||||
|
||||
|
||||
|
||||
/******************************************************************/
|
||||
/*
|
||||
Accessor functions
|
||||
|
|
|
@ -270,7 +270,7 @@ typedef struct {
|
|||
(void *) v, Py_REFCNT(v)))
|
||||
|
||||
|
||||
|
||||
|
||||
/**** Error Handling ****/
|
||||
|
||||
static PyObject *Tkinter_TclError;
|
||||
|
@ -284,7 +284,7 @@ static PyObject *trbInCmd;
|
|||
static int tk_load_failed;
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
static PyObject *
|
||||
Tkinter_Error(PyObject *v)
|
||||
{
|
||||
|
@ -293,7 +293,7 @@ Tkinter_Error(PyObject *v)
|
|||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/**** Utils ****/
|
||||
|
||||
static int Tkinter_busywaitinterval = 20;
|
||||
|
@ -334,7 +334,7 @@ WaitForMainloop(TkappObject* self)
|
|||
}
|
||||
#endif /* WITH_THREAD */
|
||||
|
||||
|
||||
|
||||
static char *
|
||||
AsString(PyObject *value, PyObject *tmp)
|
||||
{
|
||||
|
@ -367,7 +367,7 @@ AsString(PyObject *value, PyObject *tmp)
|
|||
}
|
||||
|
||||
|
||||
|
||||
|
||||
#define ARGSZ 64
|
||||
|
||||
static char *
|
||||
|
@ -447,7 +447,7 @@ Merge(PyObject *args)
|
|||
}
|
||||
|
||||
|
||||
|
||||
|
||||
static PyObject *
|
||||
Split(char *list)
|
||||
{
|
||||
|
@ -551,7 +551,7 @@ SplitObj(PyObject *arg)
|
|||
return arg;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**** Tkapp Object ****/
|
||||
|
||||
#ifndef WITH_APPINIT
|
||||
|
@ -592,7 +592,7 @@ Tcl_AppInit(Tcl_Interp *interp)
|
|||
#endif /* !WITH_APPINIT */
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/* Initialize the Tk application; see the `main' function in
|
||||
* `tkMain.c'.
|
||||
|
@ -749,7 +749,7 @@ Tkapp_ThreadSend(TkappObject *self, Tcl_Event *ev,
|
|||
}
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
/** Tcl Eval **/
|
||||
|
||||
typedef struct {
|
||||
|
@ -1535,7 +1535,7 @@ Tkapp_AddErrorInfo(PyObject *self, PyObject *args)
|
|||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/** Tcl Variable **/
|
||||
|
||||
typedef PyObject* (*EventFunc)(PyObject*, PyObject *args, int flags);
|
||||
|
@ -1709,7 +1709,7 @@ Tkapp_GlobalSetVar(PyObject *self, PyObject *args)
|
|||
}
|
||||
|
||||
|
||||
|
||||
|
||||
static PyObject *
|
||||
GetVar(PyObject *self, PyObject *args, int flags)
|
||||
{
|
||||
|
@ -1751,7 +1751,7 @@ Tkapp_GlobalGetVar(PyObject *self, PyObject *args)
|
|||
}
|
||||
|
||||
|
||||
|
||||
|
||||
static PyObject *
|
||||
UnsetVar(PyObject *self, PyObject *args, int flags)
|
||||
{
|
||||
|
@ -1788,7 +1788,7 @@ Tkapp_GlobalUnsetVar(PyObject *self, PyObject *args)
|
|||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/** Tcl to Python **/
|
||||
|
||||
static PyObject *
|
||||
|
@ -1945,7 +1945,7 @@ Tkapp_ExprBoolean(PyObject *self, PyObject *args)
|
|||
}
|
||||
|
||||
|
||||
|
||||
|
||||
static PyObject *
|
||||
Tkapp_SplitList(PyObject *self, PyObject *args)
|
||||
{
|
||||
|
@ -2024,7 +2024,7 @@ Tkapp_Merge(PyObject *self, PyObject *args)
|
|||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/** Tcl Command **/
|
||||
|
||||
/* Client data struct */
|
||||
|
@ -2107,7 +2107,7 @@ PythonCmdDelete(ClientData clientData)
|
|||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#ifdef WITH_THREAD
|
||||
TCL_DECLARE_MUTEX(command_mutex)
|
||||
|
@ -2202,7 +2202,7 @@ Tkapp_CreateCommand(PyObject *selfptr, PyObject *args)
|
|||
}
|
||||
|
||||
|
||||
|
||||
|
||||
static PyObject *
|
||||
Tkapp_DeleteCommand(PyObject *selfptr, PyObject *args)
|
||||
{
|
||||
|
@ -2244,7 +2244,7 @@ Tkapp_DeleteCommand(PyObject *selfptr, PyObject *args)
|
|||
}
|
||||
|
||||
|
||||
|
||||
|
||||
#ifdef HAVE_CREATEFILEHANDLER
|
||||
/** File Handler **/
|
||||
|
||||
|
@ -2410,7 +2410,7 @@ Tkapp_DeleteFileHandler(PyObject *self, PyObject *args)
|
|||
}
|
||||
#endif /* HAVE_CREATEFILEHANDLER */
|
||||
|
||||
|
||||
|
||||
/**** Tktt Object (timer token) ****/
|
||||
|
||||
static PyTypeObject Tktt_Type;
|
||||
|
@ -2513,7 +2513,7 @@ static PyTypeObject Tktt_Type =
|
|||
};
|
||||
|
||||
|
||||
|
||||
|
||||
/** Timer Handler **/
|
||||
|
||||
static void
|
||||
|
@ -2588,7 +2588,7 @@ Tkapp_CreateTimerHandler(PyObject *self, PyObject *args)
|
|||
return (PyObject *) v;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/** Event Loop **/
|
||||
|
||||
static PyObject *
|
||||
|
@ -2797,7 +2797,7 @@ Tkapp_WillDispatch(PyObject *self, PyObject *args)
|
|||
return Py_None;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**** Tkapp Method List ****/
|
||||
|
||||
static PyMethodDef Tkapp_methods[] =
|
||||
|
@ -2843,7 +2843,7 @@ static PyMethodDef Tkapp_methods[] =
|
|||
};
|
||||
|
||||
|
||||
|
||||
|
||||
/**** Tkapp Type Methods ****/
|
||||
|
||||
static void
|
||||
|
@ -2882,7 +2882,7 @@ static PyTypeObject Tkapp_Type =
|
|||
};
|
||||
|
||||
|
||||
|
||||
|
||||
/**** Tkinter Module ****/
|
||||
|
||||
typedef struct {
|
||||
|
|
|
@ -58,7 +58,7 @@ typedef int (*PrintfishFunc)(const char*, ...);
|
|||
typedef int (*StringIntArgFunc)(const char*, int);
|
||||
|
||||
|
||||
|
||||
|
||||
static PyObject*
|
||||
call_voidarg_function(VoidArgFunc func, PyObject *self, PyObject *args)
|
||||
{
|
||||
|
@ -158,7 +158,7 @@ call_stringandint_function(StringIntArgFunc func, PyObject *self,
|
|||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/* functions common to all products
|
||||
*
|
||||
* N.B. These printf() style functions are a bit of a kludge. Since the
|
||||
|
@ -193,7 +193,7 @@ pure_pure_printf_with_banner(PyObject* self, PyObject* args)
|
|||
#endif /* COMMON_PURE_FUNCTIONS */
|
||||
|
||||
|
||||
|
||||
|
||||
/* Purify functions
|
||||
*
|
||||
* N.B. There are some interfaces described in the purify.h file that are
|
||||
|
@ -325,7 +325,7 @@ pure_purify_get_user_data(PyObject *self, PyObject *args)
|
|||
return Py_BuildValue("l", (long)data);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* this global variable is shared by both mapping functions:
|
||||
* pure_purify_map_pool() and pure_purify_map_pool_id(). Since they cache
|
||||
* this variable it should be safe in the face of recursion or cross
|
||||
|
@ -417,7 +417,7 @@ pure_purify_map_pool_id(PyObject *self, PyObject *args)
|
|||
}
|
||||
|
||||
|
||||
|
||||
|
||||
static PyObject*
|
||||
pure_purify_new_messages(PyObject *self, PyObject *args)
|
||||
{
|
||||
|
@ -664,7 +664,7 @@ pure_purify_exit(PyObject *self, PyObject *args)
|
|||
#endif /* PURIFY_H */
|
||||
|
||||
|
||||
|
||||
|
||||
/* Quantify functions
|
||||
*
|
||||
* N.B. Some of these functions are only described in the quantify.h file,
|
||||
|
@ -817,7 +817,7 @@ pure_quantify_add_annotation(PyObject *self, PyObject *args)
|
|||
#endif /* QUANTIFY_H */
|
||||
|
||||
|
||||
|
||||
|
||||
/* external interface
|
||||
*/
|
||||
static struct PyMethodDef
|
||||
|
@ -931,7 +931,7 @@ pure_methods[] = {
|
|||
};
|
||||
|
||||
|
||||
|
||||
|
||||
static void
|
||||
ins(d, name, val)
|
||||
PyObject *d;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue