nitdoc: remove unused plugin "Copy to Clipboard"
[nit.git] / tests / test_ni_import_init.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_import_init.nit.h"
15
16 /*
17 C implementation of acces::A::ex_sees_b_attr
18
19 Imported methods signatures:
20 bigint B_i( B recv ) for acces::B::i
21 */
22 bigint A_ex_sees_b_attr___impl( A recv, B b )
23 {
24 return B_i( b );
25 }
26
27 /*
28 C implementation of acces::A::ex_sees_b_init
29
30 Imported methods signatures:
31 void new_B( ) for acces::B::init
32 void new_B_from( bigint i ) for acces::B::from
33 */
34 B A_ex_sees_b_init___impl( A recv, bigint i )
35 {
36 return new_B_from( i );
37 }