##// END OF EJS Templates
base85: clean up function definition style...
Augie Fackler -
r27060:4613a89b default
parent child Browse files
Show More
@@ -18,8 +18,7 b' static const char b85chars[] = "01234567'
18 "abcdefghijklmnopqrstuvwxyz!#$%&()*+-;<=>?@^_`{|}~";
18 "abcdefghijklmnopqrstuvwxyz!#$%&()*+-;<=>?@^_`{|}~";
19 static char b85dec[256];
19 static char b85dec[256];
20
20
21 static void
21 static void b85prep(void)
22 b85prep(void)
23 {
22 {
24 unsigned i;
23 unsigned i;
25
24
@@ -28,8 +27,7 b' b85prep(void)'
28 b85dec[(int)(b85chars[i])] = i + 1;
27 b85dec[(int)(b85chars[i])] = i + 1;
29 }
28 }
30
29
31 static PyObject *
30 static PyObject *b85encode(PyObject *self, PyObject *args)
32 b85encode(PyObject *self, PyObject *args)
33 {
31 {
34 const unsigned char *text;
32 const unsigned char *text;
35 PyObject *out;
33 PyObject *out;
@@ -76,8 +74,7 b' b85encode(PyObject *self, PyObject *args'
76 return out;
74 return out;
77 }
75 }
78
76
79 static PyObject *
77 static PyObject *b85decode(PyObject *self, PyObject *args)
80 b85decode(PyObject *self, PyObject *args)
81 {
78 {
82 PyObject *out;
79 PyObject *out;
83 const char *text;
80 const char *text;
General Comments 0
You need to be logged in to leave comments. Login now