summaryrefslogtreecommitdiff
path: root/src/tests/eolian_cxx/callback.eo
blob: 1129420ebfea683cc0f534e4122811c6d3a44166 (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
import ecore_types;

class Callback (Eo.Base)
{
   legacy_prefix: null;
   data: Callback_Data;
   methods {
      onecallback {
         params {
           @in cb: Ecore_Cb;
           @in data: void*;
         }
      }
      twocallback {
         params {
           @in cb: Ecore_Cb;
           @in data: void*;
           @in cb2: Ecore_Cb;
         }
      }
      test_global_callbacks @class {
         params {
           @in cb: Ecore_Cb;
           @in data: void*;
         }
      }
   }
   implements {
      Eo.Base.constructor;
   }
   events {
     call_on_add;
   }
}