summaryrefslogtreecommitdiff
path: root/src/tests/efl_mono/dummy_test_object.eo
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/efl_mono/dummy_test_object.eo')
-rw-r--r--src/tests/efl_mono/dummy_test_object.eo314
1 files changed, 17 insertions, 297 deletions
diff --git a/src/tests/efl_mono/dummy_test_object.eo b/src/tests/efl_mono/dummy_test_object.eo
index 99e8d02..517c783 100644
--- a/src/tests/efl_mono/dummy_test_object.eo
+++ b/src/tests/efl_mono/dummy_test_object.eo
@@ -2,6 +2,18 @@ import eina_types;
2 2
3type Dummy.MyInt: int; 3type Dummy.MyInt: int;
4 4
5const Dummy.Constvar_Bool : bool = true;
6const Dummy.Constvar_Int : int = -32766;
7const Dummy.Constvar_UInt : uint = 65533U;
8const Dummy.Constvar_Long : long = -2147483644L;
9const Dummy.Constvar_ULong : ulong = 4294967288UL;
10const Dummy.Constvar_LLong : llong = -9223372036854775800LL;
11const Dummy.Constvar_ULLong : ullong = 18446744073709551615ULL;
12const Dummy.Constvar_Float : float = 16777211.0f;
13const Dummy.Constvar_Double : double = 9007199254740988.0;
14const Dummy.Constvar_Char : char = '!';
15const Dummy.Constvar_String : string = "test_str";
16
5enum Dummy.SampleEnum { 17enum Dummy.SampleEnum {
6 v0, 18 v0,
7 v1, 19 v1,
@@ -64,9 +76,7 @@ struct @free(free) Dummy.StructSimple
64 76
65struct @free(free) Dummy.StructComplex { 77struct @free(free) Dummy.StructComplex {
66 farray: array<ptr(int)>; 78 farray: array<ptr(int)>;
67 finarray: inarray<int>;
68 flist: list<string>; 79 flist: list<string>;
69 finlist: inlist<ptr(int)>;
70 fhash: hash<string, string>; 80 fhash: hash<string, string>;
71 fiterator: iterator<ptr(int)>; 81 fiterator: iterator<ptr(int)>;
72 fany_value: any_value; 82 fany_value: any_value;
@@ -102,6 +112,10 @@ class Dummy.Test_Object extends Efl.Object implements Efl.Part, Dummy.Test_Iface
102 return: Dummy.Test_Object; 112 return: Dummy.Test_Object;
103 } 113 }
104 114
115 return_null_object {
116 return: Dummy.Test_Object;
117 }
118
105 int_out { 119 int_out {
106 params { 120 params {
107 @in x: int; 121 @in x: int;
@@ -508,153 +522,6 @@ class Dummy.Test_Object extends Efl.Object implements Efl.Part, Dummy.Test_Iface
508 return: array<Dummy.Numberwrapper>; 522 return: array<Dummy.Numberwrapper>;
509 } 523 }
510 524
511 /* Eina Inarray */
512
513 /* Integer */
514 eina_inarray_int_in {
515 params {
516 @in arr: inarray<ptr(int)>;
517 }
518 return: bool;
519 }
520
521 eina_inarray_int_in_own {
522 params {
523 @in arr: inarray<free(ptr(int),free) @owned> @owned;
524 }
525 return: bool;
526 }
527 check_eina_inarray_int_in_own {
528 return: bool;
529 }
530
531 eina_inarray_int_out {
532 params {
533 @out arr: inarray<ptr(int)>;
534 }
535 return: bool;
536 }
537 check_eina_inarray_int_out {
538 return: bool;
539 }
540
541 eina_inarray_int_out_own {
542 params {
543 @out arr: inarray<free(ptr(int),free) @owned> @owned;
544 }
545 return: bool;
546 }
547
548 eina_inarray_int_return {
549 return: inarray<int>;
550 }
551 check_eina_inarray_int_return {
552 return: bool;
553 }
554
555 eina_inarray_int_return_own {
556 return: inarray<free(ptr(int),free) @owned> @owned;
557 }
558
559 /* String */
560 eina_inarray_str_in {
561 params {
562 @in arr: inarray<string>;
563 }
564 return: bool;
565 }
566
567 eina_inarray_str_in_own {
568 params {
569 @in arr: inarray<mstring @owned> @owned;
570 }
571 return: bool;
572 }
573 check_eina_inarray_str_in_own {
574 return: bool;
575 }
576
577 eina_inarray_str_out {
578 params {
579 @out arr: inarray<string>;
580 }
581 return: bool;
582 }
583 check_eina_inarray_str_out {
584 return: bool;
585 }
586
587 eina_inarray_str_out_own {
588 params {
589 @out arr: inarray<mstring @owned> @owned;
590 }
591 return: bool;
592 }
593
594 eina_inarray_str_return {
595 return: inarray<string>;
596 }
597 check_eina_inarray_str_return {
598 return: bool;
599 }
600
601 eina_inarray_str_return_own {
602 return: inarray<mstring @owned> @owned;
603 }
604
605 /* Object */
606 eina_inarray_obj_in {
607 params {
608 @in arr: inarray<Dummy.Numberwrapper>;
609 }
610 return: bool;
611 }
612
613 eina_inarray_obj_in_own {
614 params {
615 @in arr: inarray<Dummy.Numberwrapper @owned> @owned;
616 }
617 return: bool;
618 }
619 check_eina_inarray_obj_in_own {
620 return: bool;
621 }
622
623 eina_inarray_obj_out {
624 params {
625 @out arr: inarray<Dummy.Numberwrapper>;
626 }
627 return: bool;
628 }
629 check_eina_inarray_obj_out {
630 return: bool;
631 }
632
633 eina_inarray_obj_out_own {
634 params {
635 @out arr: inarray<Dummy.Numberwrapper @owned> @owned;
636 }
637 return: bool;
638 }
639
640 eina_inarray_obj_return {
641 return: inarray<Dummy.Numberwrapper>;
642 }
643 check_eina_inarray_obj_return {
644 return: bool;
645 }
646
647 eina_inarray_obj_return_own {
648 return: inarray<Dummy.Numberwrapper @owned> @owned;
649 }
650
651 eina_inarray_obj_return_in {
652 params {
653 @in arr: inarray<Dummy.Numberwrapper>;
654 }
655 return: inarray<Dummy.Numberwrapper>;
656 }
657
658 /* Eina List */ 525 /* Eina List */
659 526
660 /* Integer */ 527 /* Integer */
@@ -802,154 +669,6 @@ class Dummy.Test_Object extends Efl.Object implements Efl.Part, Dummy.Test_Iface
802 return: list<Dummy.Numberwrapper>; 669 return: list<Dummy.Numberwrapper>;
803 } 670 }
804 671
805 /* Eina Inlist */
806
807 /* Integer */
808 eina_inlist_int_in {
809 params {
810 @in lst: inlist<int>;
811 }
812 return: bool;
813 }
814
815 eina_inlist_int_in_own {
816 params {
817 @in lst: inlist<free(ptr(int),free) @owned> @owned;
818 }
819 return: bool;
820 }
821 check_eina_inlist_int_in_own {
822 return: bool;
823 }
824
825 eina_inlist_int_out {
826 params {
827 @out lst: inlist<int>;
828 }
829 return: bool;
830 }
831 check_eina_inlist_int_out {
832 return: bool;
833 }
834
835 eina_inlist_int_out_own {
836 params {
837 @out lst: inlist<free(ptr(int),free) @owned> @owned;
838 }
839 return: bool;
840 }
841
842 eina_inlist_int_return {
843 return: inlist<int>;
844 }
845 check_eina_inlist_int_return {
846 return: bool;
847 }
848
849 eina_inlist_int_return_own {
850 return: inlist<free(ptr(int),free) @owned> @owned;
851 }
852
853 /* String */
854 eina_inlist_str_in {
855 params {
856 @in lst: inlist<string>;
857 }
858 return: bool;
859 }
860
861 eina_inlist_str_in_own {
862 params {
863 @in lst: inlist<mstring @owned> @owned;
864 }
865 return: bool;
866 }
867 check_eina_inlist_str_in_own {
868 return: bool;
869 }
870
871 eina_inlist_str_out {
872 params {
873 @out lst: inlist<string>;
874 }
875 return: bool;
876 }
877 check_eina_inlist_str_out {
878 return: bool;
879 }
880
881 eina_inlist_str_out_own {
882 params {
883 @out lst: inlist<mstring @owned> @owned;
884 }
885 return: bool;
886 }
887
888 eina_inlist_str_return {
889 return: inlist<string>;
890 }
891 check_eina_inlist_str_return {
892 return: bool;
893 }
894
895 eina_inlist_str_return_own {
896 return: inlist<mstring @owned> @owned;
897 }
898
899 /* Object */
900 eina_inlist_obj_in {
901 params {
902 @in lst: inlist<Dummy.Numberwrapper>;
903 }
904 return: bool;
905 }
906
907 eina_inlist_obj_in_own {
908 params {
909 @in lst: inlist<Dummy.Numberwrapper @owned> @owned;
910 }
911 return: bool;
912 }
913 check_eina_inlist_obj_in_own {
914 return: bool;
915 }
916
917 eina_inlist_obj_out {
918 params {
919 @out lst: inlist<Dummy.Numberwrapper>;
920 }
921 return: bool;
922 }
923 check_eina_inlist_obj_out {
924 return: bool;
925 }
926
927 eina_inlist_obj_out_own {
928 params {
929 @out lst: inlist<Dummy.Numberwrapper @owned> @owned;
930 }
931 return: bool;
932 }
933
934 eina_inlist_obj_return {
935 return: inlist<Dummy.Numberwrapper>;
936 }
937 check_eina_inlist_obj_return {
938 return: bool;
939 }
940
941 eina_inlist_obj_return_own {
942 return: inlist<Dummy.Numberwrapper @owned> @owned;
943 }
944
945 eina_inlist_obj_return_in {
946 params {
947 @in lst: inlist<Dummy.Numberwrapper>;
948 }
949 return: inlist<Dummy.Numberwrapper>;
950 }
951
952
953 // Eina Hash // 672 // Eina Hash //
954 673
955 // Integer // 674 // Integer //
@@ -1677,6 +1396,7 @@ class Dummy.Test_Object extends Efl.Object implements Efl.Part, Dummy.Test_Iface
1677 class.destructor; 1396 class.destructor;
1678 Efl.Object.constructor; 1397 Efl.Object.constructor;
1679 Efl.Part.part_get; 1398 Efl.Part.part_get;
1399 Efl.Object.provider_find;
1680 Dummy.Test_Iface.emit_test_conflicted; 1400 Dummy.Test_Iface.emit_test_conflicted;
1681 Dummy.Test_Iface.emit_nonconflicted; 1401 Dummy.Test_Iface.emit_nonconflicted;
1682 Dummy.Test_Iface.iface_prop { get; set; } 1402 Dummy.Test_Iface.iface_prop { get; set; }