git.asbjorn.biz
/
swftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
01e7601
)
renamed startframe/endframe to startpage/endpage
author
kramm
<kramm>
Fri, 4 May 2007 13:20:53 +0000
(13:20 +0000)
committer
kramm
<kramm>
Fri, 4 May 2007 13:20:53 +0000
(13:20 +0000)
lib/python/gfx.c
patch
|
blob
|
history
diff --git
a/lib/python/gfx.c
b/lib/python/gfx.c
index
016d1ce
..
cf60da6
100644
(file)
--- a/
lib/python/gfx.c
+++ b/
lib/python/gfx.c
@@
-69,15
+69,15
@@
static char* strf(char*format, ...)
//---------------------------------------------------------------------
staticforward PyObject* output_save(PyObject* _self, PyObject* args, PyObject* kwargs);
//---------------------------------------------------------------------
staticforward PyObject* output_save(PyObject* _self, PyObject* args, PyObject* kwargs);
-staticforward PyObject* output_startframe(PyObject* _self, PyObject* args, PyObject* kwargs);
-staticforward PyObject* output_endframe(PyObject* _self, PyObject* args, PyObject* kwargs);
+staticforward PyObject* output_startpage(PyObject* _self, PyObject* args, PyObject* kwargs);
+staticforward PyObject* output_endpage(PyObject* _self, PyObject* args, PyObject* kwargs);
static PyMethodDef output_methods[] =
{
/* Output functions */
{"save", (PyCFunction)output_save, METH_KEYWORDS, ""},
static PyMethodDef output_methods[] =
{
/* Output functions */
{"save", (PyCFunction)output_save, METH_KEYWORDS, ""},
- {"startframe", (PyCFunction)output_startframe, METH_KEYWORDS, ""},
- {"endframe", (PyCFunction)output_endframe, METH_KEYWORDS, ""},
+ {"startpage", (PyCFunction)output_startpage, METH_KEYWORDS, ""},
+ {"endpage", (PyCFunction)output_endpage, METH_KEYWORDS, ""},
{0,0,0,0}
};
static PyObject* output_save(PyObject* _self, PyObject* args, PyObject* kwargs)
{0,0,0,0}
};
static PyObject* output_save(PyObject* _self, PyObject* args, PyObject* kwargs)
@@
-96,7
+96,7
@@
static PyObject* output_save(PyObject* _self, PyObject* args, PyObject* kwargs)
result->destroy(result);
return PY_NONE;
}
result->destroy(result);
return PY_NONE;
}
-static PyObject* output_startframe(PyObject* _self, PyObject* args, PyObject* kwargs)
+static PyObject* output_startpage(PyObject* _self, PyObject* args, PyObject* kwargs)
{
OutputObject* self = (OutputObject*)_self;
int width=0, height=0;
{
OutputObject* self = (OutputObject*)_self;
int width=0, height=0;
@@
-105,7
+105,7
@@
static PyObject* output_startframe(PyObject* _self, PyObject* args, PyObject* kw
self->output_device->startpage(self->output_device, width, height);
return PY_NONE;
}
self->output_device->startpage(self->output_device, width, height);
return PY_NONE;
}
-static PyObject* output_endframe(PyObject* _self, PyObject* args, PyObject* kwargs)
+static PyObject* output_endpage(PyObject* _self, PyObject* args, PyObject* kwargs)
{
OutputObject* self = (OutputObject*)_self;
if (!PyArg_ParseTuple(args, ""))
{
OutputObject* self = (OutputObject*)_self;
if (!PyArg_ParseTuple(args, ""))