tabs/ final newlines

This commit is contained in:
Øyvind Saltvik 2012-08-07 13:22:20 +02:00
parent cadcf0b48a
commit 44869cbd4f
4 changed files with 749 additions and 748 deletions

View file

@ -10,7 +10,7 @@
*
* estrdup returns a copy of its argument, located in memory
* allocated from the heap. If it is unable to allocate the
* necessary memory, estrdup executes error("no memory").
* necessary memory, estrdup executes PyErr_NoMemory();
* (Generally, the routine error is not expected to return,
* but if it does, estrdup will return NULL.)
*/
@ -30,7 +30,6 @@ estrdup(char *s)
static PyObject *
telldus_tdInit(PyObject *self)
{
/* PyEval_InitThreads(); */
tdInit();
Py_INCREF(Py_None);
return Py_None;
@ -563,6 +562,8 @@ inittelldus(void)
/* Create the module and add the functions */
/* PyEval_InitThreads(); */
module = Py_InitModule("telldus", telldus_methods);
TELLSTICK_TURNON_GLUE = PyLong_FromLong((long) TELLSTICK_TURNON);