return data;
}
-/* --- */
-
-void
-swf_object_rebuild(swf_object_t *swf) {
- swf_tag_t *tag;
- for (tag = swf->tag_head; tag ; tag = tag->next) {
- if (isShapeTag(tag->tag)) {
- continue; // skip Shape はまだ動作が怪しいので
- }
- swf_tag_rebuild(tag, swf);
- }
-}
-
void
swf_object_print(swf_object_t *swf) {
int i;
}
}
+/* --- */
+
+void
+swf_object_rebuild(swf_object_t *swf) {
+ swf_tag_t *tag;
+ for (tag = swf->tag_head; tag ; tag = tag->next) {
+ if (isShapeTag(tag->tag)) {
+ continue; // skip Shape はまだ動作が怪しいので
+ }
+ swf_tag_rebuild(tag, swf);
+ }
+}
+
+/* --- */
+
unsigned char *
swf_object_get_tagdata(swf_object_t *swf, int tag_seqno,
unsigned long *length) {
extern void swf_object_close(swf_object_t *swf);
extern int swf_object_input(swf_object_t *swf, unsigned char *data, unsigned long data_len);
extern unsigned char *swf_object_output(swf_object_t *swf, unsigned long *length);
+extern void swf_object_print(swf_object_t *swf);
/* --- */
extern void swf_object_rebuild(swf_object_t *swf);
-extern void swf_object_print(swf_object_t *swf);
+
+/* --- */
+
extern unsigned char *swf_object_get_tagdata(swf_object_t *swf, int tag_seqno,
unsigned long *length);
extern int swf_object_replace_tagdata(swf_object_t *swf, int tag_seqno,