summaryrefslogtreecommitdiff
path: root/src/tests/eolian_cxx/callback.eo
blob: a22885e4d38e389211c1dad6bea8369a2ec75b39 (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
class Callback (Eo.Base)
{
   legacy_prefix: null;
   data: Callback_Data;
   methods {
      default_constructor {
      }
      constructor {
         params {
            @in Ecore_Cb cb;
            @in void* data;
         }
      }
      constructor2 {
         params {
            @in Ecore_Cb cb;
            @in void* data;
            @in Ecore_Cb cb2;
         }
      }
      onecallback {
         params {
           @in Ecore_Cb cb;
           @in void* data;
         }
      }
      twocallback {
         params {
           @in Ecore_Cb cb;
           @in void* data;
           @in Ecore_Cb cb2;
         }
      }
   }
    constructors {
        .default_constructor;
        .constructor;
        .constructor2;
    }
   events {
     call_on_add;
   }
}