git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added mypython, swfpython.
[swftools.git]
/
lib
/
python
/
SWF.c
diff --git
a/lib/python/SWF.c
b/lib/python/SWF.c
index
5f03825
..
aa2c7f3
100644
(file)
--- a/
lib/python/SWF.c
+++ b/
lib/python/SWF.c
@@
-25,7
+25,7
@@
#include "../rfxswf.h"
#include "../log.h"
#include "./pyutils.h"
#include "../rfxswf.h"
#include "../log.h"
#include "./pyutils.h"
-#include "./tag.h"
+#include "./tags.h"
#include "./taglist.h"
/*
#include "./taglist.h"
/*
@@
-123,6
+123,7
@@
static PyObject* f_load(PyObject* self, PyObject* args)
return 0;
}
close(fi);
return 0;
}
close(fi);
+ swf_FoldAll(&swf->swf);
swf->taglist = taglist_new2(swf->swf.firstTag);
if(swf->taglist == NULL) {
swf->taglist = taglist_new2(swf->swf.firstTag);
if(swf->taglist == NULL) {
@@
-198,7
+199,7
@@
static PyObject * swf_save(PyObject* self, PyObject* args, PyObject* kwargs)
}
close(fi);
}
close(fi);
- //swf_FreeTags(swf);
+ swf_FreeTags(swf);
/*{ TAG * t = swf->firstTag;
while (t)
{
/*{ TAG * t = swf->firstTag;
while (t)
{
@@
-416,7
+417,7
@@
void initSWF(void)
{
PyObject*module;
PyMethodDef* primitive_methods = primitive_getMethods();
{
PyObject*module;
PyMethodDef* primitive_methods = primitive_getMethods();
- PyMethodDef* tag_methods = tag_getMethods();
+ PyMethodDef* tag_methods = tags_getMethods();
PyMethodDef* action_methods = action_getMethods();
PyMethodDef* swf_methods = swf_getMethods();
PyMethodDef* action_methods = action_getMethods();
PyMethodDef* swf_methods = swf_getMethods();