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_primitives.nit.h"
19 C implementation of test_ni_primitives::Object::opposite
21 int Object_opposite___impl( Object recv
, int v
)
27 C implementation of test_ni_primitives::Object::plus_10
29 char Object_plus_10___impl( Object recv
, char v
)
35 C implementation of test_ni_primitives::Object::plus_1000
37 bigint
Object_plus_1000___impl( Object recv
, bigint v
)
43 C implementation of test_ni_primitives::Object::multiply_by_100
45 float Object_multiply_by_100___impl( Object recv
, float v
)
51 C implementation of test_ni_primitives::Object::print_ns
53 void Object_print_ns___impl( Object recv
, char * s
)