summaryrefslogtreecommitdiff
path: root/src/tests/eolian/data/class_simple.eo
blob: 653c2fbe2513704a7a5be11e81a146353c267e30 (plain)
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
class Class_Simple {
   [[Class Desc Simple]]
   legacy_prefix: evas_object_simple;
   eo_prefix: evas_obj_simple;
   data: Evas_Simple_Data;
   methods {
      @property a @beta {
         [[Common desc for a]]
         set {
            [[comment a.set]]
            return: bool (true); [[comment for property set return]]
         }
         get {
         }
         values {
            value: int (100); [[Value description]]
         }
      }
      @property b @c_only {
        set {
           eo: null;
        }
      }
      foo @beta {
         [[comment foo]]
         params {
            @in a: int; [[a]]
            @inout b: char;
            @out c: double (1337.6);
         }
         return: char * (null); [[comment for method return]]
      }
      bar @c_only {
         eo: null;
         params {
            x: int;
         }
         return: int;
      }
   }
}