summaryrefslogtreecommitdiff
path: root/src/tests/eolian_js/constructor_method_class.eo
blob: ed77e85d703f3c512b549e74de31c9bfce4715a0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
class Constructor_Method_Class (Efl.Object)
{
   data: Constructor_Method_Class_Data;
   methods {
      @property fail {
         get {
         }
         values {
            is_fail: bool;
         }
      }
      constructor1 {
         params { @in one: int; }
      }
      constructor2 {
         params { @in two: double; }
      }
      method1 {
         params { @in one: int; }
      }
      method2 {
         params { @in one: int; }
         return: int;
      }
      method3 {
         params { @in one: int; @in two: double; }
      }
      method4 {
         params { @in one: int; @in two: double; }
         return: int;
      }
      outmethod1 {
         params { @out one: int; }
      }
      outmethod2 {
         params { @out one: int; }
         return: int;
      }
      outmethod3 {
         params { @out one: int; @out two: double; }
      }
      classoutmethod1 {
         params { @in one: int; @in two: double; }
         return: free(Constructor_Method_Class, eo_unref) @owned @warn_unused;
      }
      classoutmethod2 {
         params { @in one: int; @in two: double; @out out_class: Constructor_Method_Class @owned; }
      }
   }
   implements {
      Efl.Object.constructor;
      Efl.Object.finalize;
   }
   constructors {
      .constructor1;
      .constructor2;
   }
}