summaryrefslogtreecommitdiff
path: root/src/examples/efl_mono/example_numberwrapper.eo
blob: 85f2ce4a4d32e654a9f1495db919c27ac563e77c (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
function NumberCb {
   params {
      n: int;
   }
   return: int;
};

class Example.Numberwrapper (Efl.Object) {
   methods {
      @property number {
         get {
         }
         set {
         }
         values {
             n: int;
         }
      }

      number_callback_set {
         params {
            cb: NumberCb;
         }
      }

      callback_call {
         return: int;
      }
   }
}