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