1 /* This file is part of NIT ( http://www.nitlanguage.org ).
3 * Copyright 2011 Alexis Laferrière <alexis.laf@xymus.net>
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
14 #include "test_ni_new.nit.h"
20 C implementation of extern_new::A::init
22 Imported methods signatures:
23 void A_p( A recv ) for extern_new::A::p
32 C implementation of extern_new::A::with_args
34 A
new_A_with_args___impl( bigint x
, A a
)
36 int* v
= (int*)malloc( sizeof(int) );
42 C implementation of extern_new::A::p
44 void A_p___impl( A recv
)
46 printf( "allo from %i\n", *recv
);
50 C implementation of extern_new::A::d
52 Imported methods signatures:
53 A A_d( A recv ) for extern_new::A::d
54 A new_A( ) for extern_new::A::init
56 A
A_d___impl( A recv
)