Commit c83ea137 authored by Antoine Pitrou's avatar Antoine Pitrou

Untabify C files. Will watch buildbots.

parent 368ede83
......@@ -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 {
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment