lib: import the android module from mnit_android
[nit.git] / tests / test_ni_special_all_native.nit.c
1 /* This file is part of NIT ( http://www.nitlanguage.org ).
2 *
3 * Copyright 2011 Alexis Laferrière <alexis.laf@xymus.net>
4 *
5 * This file is free software, which comes along with NIT. This software is
6 * distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
7 * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
8 * PARTICULAR PURPOSE. You can modify it is you want, provided this header
9 * is kept unaltered, and a notification of the changes is added.
10 * You are allowed to redistribute it and sell it, alone or is a part of
11 * another product.
12 */
13
14 #include "test_ni_special_all_native.nit.h"
15
16 /*
17 C implementation of test_ni_special_all_native::A::work
18 */
19 void A_work___impl( A recv )
20 {
21 printf( "A\n" );
22 }
23
24 /*
25 C implementation of test_ni_special_all_native::A::call
26
27 Imported methods signatures:
28 void A_work( A recv ) for test_ni_special_all_native::A::work
29 */
30 void A_call___impl( A recv )
31 {
32 A_work( recv );
33 }
34
35 /*
36 C implementation of test_ni_special_all_native::B::(test_ni_special_all_native::A::work)
37 */
38 void B_work___impl( B recv )
39 {
40 printf( "B\n" );
41 }