306
;; From swfdec_as_array.h
308
(define-function swfdec_as_array_get_type
309
(c-name "swfdec_as_array_get_type")
310
(return-type "GType")
313
(define-function swfdec_as_array_new
314
(c-name "swfdec_as_array_new")
315
(is-constructor-of "SwfdecAsArray")
316
(return-type "SwfdecAsObject*")
318
'("SwfdecAsContext*" "context")
322
(define-method append_with_flags
323
(of-object "SwfdecAsArray")
324
(c-name "swfdec_as_array_append_with_flags")
328
'("const-SwfdecAsValue*" "values")
329
'("SwfdecAsVariableFlag" "flags")
333
(define-method insert
334
(of-object "SwfdecAsArray")
335
(c-name "swfdec_as_array_insert")
339
'("SwfdecAsValue*" "value")
343
(define-method insert_with_flags
344
(of-object "SwfdecAsArray")
345
(c-name "swfdec_as_array_insert_with_flags")
349
'("const-SwfdecAsValue*" "value")
350
'("SwfdecAsVariableFlag" "flags")
354
(define-method get_length
355
(of-object "SwfdecAsArray")
356
(c-name "swfdec_as_array_get_length")
357
(return-type "gint32")
360
(define-method set_length
361
(of-object "SwfdecAsArray")
362
(c-name "swfdec_as_array_set_length")
369
(define-method get_value
370
(of-object "SwfdecAsArray")
371
(c-name "swfdec_as_array_get_value")
375
'("SwfdecAsValue*" "value")
379
(define-method set_value
380
(of-object "SwfdecAsArray")
381
(c-name "swfdec_as_array_set_value")
385
'("SwfdecAsValue*" "value")
389
(define-method remove
390
(of-object "SwfdecAsArray")
391
(c-name "swfdec_as_array_remove")
400
;; From swfdec_as_context.h
402
(define-function swfdec_as_context_get_type
403
(c-name "swfdec_as_context_get_type")
404
(return-type "GType")
407
(define-method startup
408
(of-object "SwfdecAsContext")
409
(c-name "swfdec_as_context_startup")
416
(define-method is_aborted
417
(of-object "SwfdecAsContext")
418
(c-name "swfdec_as_context_is_aborted")
419
(return-type "gboolean")
422
(define-method is_constructing
423
(of-object "SwfdecAsContext")
424
(c-name "swfdec_as_context_is_constructing")
425
(return-type "gboolean")
428
(define-method get_frame
429
(of-object "SwfdecAsContext")
430
(c-name "swfdec_as_context_get_frame")
431
(return-type "SwfdecAsFrame*")
434
(define-method get_time
435
(of-object "SwfdecAsContext")
436
(c-name "swfdec_as_context_get_time")
443
(define-method get_string
444
(of-object "SwfdecAsContext")
445
(c-name "swfdec_as_context_get_string")
446
(return-type "const-char*")
448
'("const-char*" "string")
452
(define-method give_string
453
(of-object "SwfdecAsContext")
454
(c-name "swfdec_as_context_give_string")
455
(return-type "const-char*")
462
(of-object "SwfdecAsContext")
463
(c-name "swfdec_as_context_abort")
466
'("const-char*" "reason")
471
(of-object "SwfdecAsContext")
472
(c-name "swfdec_as_context_throw")
475
'("const-SwfdecAsValue*" "value")
480
(of-object "SwfdecAsContext")
481
(c-name "swfdec_as_context_catch")
482
(return-type "gboolean")
484
'("SwfdecAsValue*" "value")
488
(define-method use_mem
489
(of-object "SwfdecAsContext")
490
(c-name "swfdec_as_context_use_mem")
491
(return-type "gboolean")
497
(define-method unuse_mem
498
(of-object "SwfdecAsContext")
499
(c-name "swfdec_as_context_unuse_mem")
507
(of-object "SwfdecAsObject")
508
(c-name "swfdec_as_object_mark")
513
(of-object "SwfdecAsValue")
514
(c-name "swfdec_as_value_mark")
518
(define-function swfdec_as_string_mark
519
(c-name "swfdec_as_string_mark")
522
'("const-char*" "string")
527
(of-object "SwfdecAsContext")
528
(c-name "swfdec_as_context_gc")
532
(define-method maybe_gc
533
(of-object "SwfdecAsContext")
534
(c-name "swfdec_as_context_maybe_gc")
539
(of-object "SwfdecAsContext")
540
(c-name "swfdec_as_context_run")
545
(of-object "SwfdecAsContext")
546
(c-name "swfdec_as_context_eval")
549
'("SwfdecAsObject*" "obj")
550
'("const-char*" "str")
551
'("SwfdecAsValue*" "val")
555
(define-method eval_set
556
(of-object "SwfdecAsContext")
557
(c-name "swfdec_as_context_eval_set")
560
'("SwfdecAsObject*" "obj")
561
'("const-char*" "str")
562
'("const-SwfdecAsValue*" "val")
568
;; From swfdec_as_debugger.h
570
(define-function swfdec_as_debugger_get_type
571
(c-name "swfdec_as_debugger_get_type")
572
(return-type "GType")
577
;; From swfdec_as_frame.h
579
(define-function swfdec_as_frame_get_type
580
(c-name "swfdec_as_frame_get_type")
581
(return-type "GType")
584
(define-method get_next
585
(of-object "SwfdecAsFrame")
586
(c-name "swfdec_as_frame_get_next")
587
(return-type "SwfdecAsFrame*")
590
(define-method get_function_name
591
(of-object "SwfdecAsFrame")
592
(c-name "swfdec_as_frame_get_function_name")
593
(return-type "const-char*")
596
(define-method get_script
597
(of-object "SwfdecAsFrame")
598
(c-name "swfdec_as_frame_get_script")
599
(return-type "SwfdecScript*")
602
(define-method get_this
603
(of-object "SwfdecAsFrame")
604
(c-name "swfdec_as_frame_get_this")
605
(return-type "SwfdecAsObject*")
609
(of-object "SwfdecAsStackIterator")
610
(c-name "swfdec_as_stack_iterator_init")
611
(return-type "SwfdecAsValue*")
613
'("SwfdecAsFrame*" "frame")
617
(define-method init_arguments
618
(of-object "SwfdecAsStackIterator")
619
(c-name "swfdec_as_stack_iterator_init_arguments")
620
(return-type "SwfdecAsValue*")
622
'("SwfdecAsFrame*" "frame")
627
(of-object "SwfdecAsStackIterator")
628
(c-name "swfdec_as_stack_iterator_next")
629
(return-type "SwfdecAsValue*")
634
;; From swfdec_as_function.h
636
(define-function swfdec_as_function_get_type
637
(c-name "swfdec_as_function_get_type")
638
(return-type "GType")
642
(of-object "SwfdecAsFunction")
643
(c-name "swfdec_as_function_call")
646
'("SwfdecAsObject*" "thisp")
648
'("const-SwfdecAsValue*" "args")
649
'("SwfdecAsValue*" "return_value")
655
;; From swfdec_as_native_function.h
657
(define-function swfdec_as_native_function_get_type
658
(c-name "swfdec_as_native_function_get_type")
659
(return-type "GType")
662
(define-function swfdec_as_native_function_new
663
(c-name "swfdec_as_native_function_new")
664
(is-constructor-of "SwfdecAsNativeFunction")
665
(return-type "SwfdecAsFunction*")
667
'("SwfdecAsContext*" "context")
668
'("const-char*" "name")
669
'("SwfdecAsNative" "native")
670
'("guint" "min_args")
671
'("SwfdecAsObject*" "prototype")
675
(define-method set_object_type
676
(of-object "SwfdecAsNativeFunction")
677
(c-name "swfdec_as_native_function_set_object_type")
684
(define-method set_construct_type
685
(of-object "SwfdecAsNativeFunction")
686
(c-name "swfdec_as_native_function_set_construct_type")
693
(define-function swfdec_as_native_function_check
694
(c-name "swfdec_as_native_function_check")
695
(return-type "gboolean")
697
'("SwfdecAsContext*" "cx")
698
'("SwfdecAsObject*" "object")
700
'("gpointer*" "result")
702
'("SwfdecAsValue*" "argv")
703
'("const-char*" "args")
708
(define-function swfdec_as_native_function_checkv
709
(c-name "swfdec_as_native_function_checkv")
710
(return-type "gboolean")
712
'("SwfdecAsContext*" "cx")
713
'("SwfdecAsObject*" "object")
715
'("gpointer*" "result")
717
'("SwfdecAsValue*" "argv")
718
'("const-char*" "args")
719
'("va_list" "varargs")
725
;; From swfdec_as_object.h
727
(define-function swfdec_as_object_get_type
728
(c-name "swfdec_as_object_get_type")
729
(return-type "GType")
732
(define-function swfdec_as_object_new
733
(c-name "swfdec_as_object_new")
734
(is-constructor-of "SwfdecAsObject")
735
(return-type "SwfdecAsObject*")
737
'("SwfdecAsContext*" "context")
741
(define-function swfdec_as_object_new_empty
742
(c-name "swfdec_as_object_new_empty")
743
(return-type "SwfdecAsObject*")
745
'("SwfdecAsContext*" "context")
749
(define-function swfdec_as_object_create
750
(c-name "swfdec_as_object_create")
753
'("SwfdecAsFunction*" "fun")
755
'("const-SwfdecAsValue*" "args")
756
'("SwfdecAsValue*" "return_value")
760
(define-method set_constructor
761
(of-object "SwfdecAsObject")
762
(c-name "swfdec_as_object_set_constructor")
765
'("SwfdecAsObject*" "construct")
769
(define-method resolve
770
(of-object "SwfdecAsObject")
771
(c-name "swfdec_as_object_resolve")
772
(return-type "SwfdecAsObject*")
775
(define-method get_debug
776
(of-object "SwfdecAsObject")
777
(c-name "swfdec_as_object_get_debug")
778
(return-type "char*")
782
(of-object "SwfdecAsObject")
783
(c-name "swfdec_as_object_add")
786
'("SwfdecAsContext*" "context")
791
(define-method set_variable_and_flags
792
(of-object "SwfdecAsObject")
793
(c-name "swfdec_as_object_set_variable_and_flags")
796
'("const-char*" "variable")
797
'("const-SwfdecAsValue*" "value")
798
'("guint" "default_flags")
802
(define-method add_variable
803
(of-object "SwfdecAsObject")
804
(c-name "swfdec_as_object_add_variable")
807
'("const-char*" "variable")
808
'("SwfdecAsFunction*" "get")
809
'("SwfdecAsFunction*" "set")
810
'("SwfdecAsVariableFlag" "default_flags")
814
(define-method get_variable_and_flags
815
(of-object "SwfdecAsObject")
816
(c-name "swfdec_as_object_get_variable_and_flags")
817
(return-type "gboolean")
819
'("const-char*" "variable")
820
'("SwfdecAsValue*" "value")
822
'("SwfdecAsObject**" "pobject")
826
(define-method has_variable
827
(of-object "SwfdecAsObject")
828
(c-name "swfdec_as_object_has_variable")
829
(return-type "gboolean")
831
'("const-char*" "variable")
835
(define-method delete_variable
836
(of-object "SwfdecAsObject")
837
(c-name "swfdec_as_object_delete_variable")
838
(return-type "SwfdecAsDeleteReturn")
840
'("const-char*" "variable")
844
(define-method delete_all_variables
845
(of-object "SwfdecAsObject")
846
(c-name "swfdec_as_object_delete_all_variables")
850
(define-method set_variable_flags
851
(of-object "SwfdecAsObject")
852
(c-name "swfdec_as_object_set_variable_flags")
855
'("const-char*" "variable")
856
'("SwfdecAsVariableFlag" "flags")
860
(define-method unset_variable_flags
861
(of-object "SwfdecAsObject")
862
(c-name "swfdec_as_object_unset_variable_flags")
865
'("const-char*" "variable")
866
'("SwfdecAsVariableFlag" "flags")
870
(define-method foreach
871
(of-object "SwfdecAsObject")
872
(c-name "swfdec_as_object_foreach")
873
(return-type "gboolean")
875
'("SwfdecAsVariableForeach" "func")
880
(define-method add_function
881
(of-object "SwfdecAsObject")
882
(c-name "swfdec_as_object_add_function")
883
(return-type "SwfdecAsFunction*")
885
'("const-char*" "name")
887
'("SwfdecAsNative" "native")
888
'("guint" "min_args")
892
(define-method add_constructor
893
(of-object "SwfdecAsObject")
894
(c-name "swfdec_as_object_add_constructor")
895
(return-type "SwfdecAsFunction*")
897
'("const-char*" "name")
899
'("GType" "construct_type")
900
'("SwfdecAsNative" "native")
901
'("guint" "min_args")
902
'("SwfdecAsObject*" "prototype")
907
(of-object "SwfdecAsObject")
908
(c-name "swfdec_as_object_call")
911
'("const-char*" "name")
913
'("SwfdecAsValue*" "argv")
914
'("SwfdecAsValue*" "return_value")
919
(of-object "SwfdecAsObject")
920
(c-name "swfdec_as_object_run")
923
'("SwfdecScript*" "script")
929
;; From swfdec_as_types.h
931
(define-function swfdec_as_value_to_boolean
932
(c-name "swfdec_as_value_to_boolean")
933
(return-type "gboolean")
935
'("SwfdecAsContext*" "context")
936
'("const-SwfdecAsValue*" "value")
940
(define-function swfdec_as_value_to_integer
941
(c-name "swfdec_as_value_to_integer")
944
'("SwfdecAsContext*" "context")
945
'("const-SwfdecAsValue*" "value")
949
(define-function swfdec_as_value_to_number
950
(c-name "swfdec_as_value_to_number")
951
(return-type "double")
953
'("SwfdecAsContext*" "context")
954
'("const-SwfdecAsValue*" "value")
958
(define-function swfdec_as_value_to_object
959
(c-name "swfdec_as_value_to_object")
960
(return-type "SwfdecAsObject*")
962
'("SwfdecAsContext*" "context")
963
'("const-SwfdecAsValue*" "value")
967
(define-method to_primitive
968
(of-object "SwfdecAsValue")
969
(c-name "swfdec_as_value_to_primitive")
973
(define-function swfdec_as_value_to_string
974
(c-name "swfdec_as_value_to_string")
975
(return-type "const-char*")
977
'("SwfdecAsContext*" "context")
978
'("const-SwfdecAsValue*" "value")
982
(define-method to_debug
983
(of-object "SwfdecAsValue")
984
(c-name "swfdec_as_value_to_debug")
985
(return-type "char*")
988
(define-function swfdec_as_integer_to_string
989
(c-name "swfdec_as_integer_to_string")
990
(return-type "const-char*")
992
'("SwfdecAsContext*" "context")
997
(define-function swfdec_as_double_to_string
998
(c-name "swfdec_as_double_to_string")
999
(return-type "const-char*")
1001
'("SwfdecAsContext*" "context")
1006
(define-function swfdec_as_str_concat
1007
(c-name "swfdec_as_str_concat")
1008
(return-type "const-char*")
1010
'("SwfdecAsContext*" "cx")
1011
'("const-char*" "s1")
1012
'("const-char*" "s2")
1018
299
;; From swfdec_audio.h
739
(define-method get_url
740
(of-object "SwfdecPlayer")
741
(c-name "swfdec_player_get_url")
742
(return-type "const-SwfdecURL*")
745
(define-method set_url
746
(of-object "SwfdecPlayer")
747
(c-name "swfdec_player_set_url")
750
'("const-SwfdecURL*" "url")
754
(define-method get_base_url
755
(of-object "SwfdecPlayer")
756
(c-name "swfdec_player_get_base_url")
757
(return-type "const-SwfdecURL*")
760
(define-method set_base_url
761
(of-object "SwfdecPlayer")
762
(c-name "swfdec_player_set_base_url")
765
'("const-SwfdecURL*" "url")
769
(define-method get_variables
770
(of-object "SwfdecPlayer")
771
(c-name "swfdec_player_get_variables")
772
(return-type "const-char*")
775
(define-method set_variables
776
(of-object "SwfdecPlayer")
777
(c-name "swfdec_player_set_variables")
780
'("const-char*" "variables")
784
(define-method get_scripting
785
(of-object "SwfdecPlayer")
786
(c-name "swfdec_player_get_scripting")
787
(return-type "SwfdecPlayerScripting*")
790
(define-method set_scripting
791
(of-object "SwfdecPlayer")
792
(c-name "swfdec_player_set_scripting")
795
'("SwfdecPlayerScripting*" "scripting")
799
(define-method get_selection
800
(of-object "SwfdecPlayer")
801
(c-name "swfdec_player_get_selection")
802
(return-type "const-char*")
805
(define-method get_focus
806
(of-object "SwfdecPlayer")
807
(c-name "swfdec_player_get_focus")
808
(return-type "gboolean")
811
(define-method set_focus
812
(of-object "SwfdecPlayer")
813
(c-name "swfdec_player_set_focus")
816
'("gboolean" "focus")
820
(define-method get_renderer
821
(of-object "SwfdecPlayer")
822
(c-name "swfdec_player_get_renderer")
823
(return-type "SwfdecRenderer*")
826
(define-method set_renderer
827
(of-object "SwfdecPlayer")
828
(c-name "swfdec_player_set_renderer")
831
'("SwfdecRenderer*" "renderer")
835
(define-method get_fullscreen
836
(of-object "SwfdecPlayer")
837
(c-name "swfdec_player_get_fullscreen")
838
(return-type "gboolean")
841
(define-method get_allow_fullscreen
842
(of-object "SwfdecPlayer")
843
(c-name "swfdec_player_get_allow_fullscreen")
844
(return-type "gboolean")
847
(define-method set_allow_fullscreen
848
(of-object "SwfdecPlayer")
849
(c-name "swfdec_player_set_allow_fullscreen")
852
'("gboolean" "allow")
1514
856
(define-method render
1515
857
(of-object "SwfdecPlayer")
1516
858
(c-name "swfdec_player_render")
1517
859
(return-type "none")
1519
861
'("cairo_t*" "cr")
1523
'("double" "height")
865
(define-method render_with_renderer
866
(of-object "SwfdecPlayer")
867
(c-name "swfdec_player_render_with_renderer")
871
'("SwfdecRenderer*" "renderer")
1527
875
(define-method advance
1528
876
(of-object "SwfdecPlayer")
1529
877
(c-name "swfdec_player_advance")
1530
(return-type "none")
878
(return-type "gulong")
1532
880
'("gulong" "msecs")