ni_nitdoc: added fast copy past utility to signatures.
[nit.git] / tests / test_ni_optimized.nit.c
1 /*
2 Extern implementation of Nit module test_ni_optimized
3 */
4
5 #include "test_ni_optimized.nit.h"
6
7 /*
8 C implementation of test_ni_optimized::A::foo
9 */
10 void A_foo___impl( A recv, bigint i, Object o )
11 {
12 printf( "%ld\n", i );
13 }
14
15 /*
16 C implementation of test_ni_optimized::Int::bar
17 */
18 bigint Int_bar___impl( bigint recv, Object o, nullable_Object u )
19 {
20 return recv*2;
21 }