c_src: update
[nit.git] / c_src / standard___math._sep.h
index 58e260c..0d368c8 100644 (file)
@@ -1,7 +1,7 @@
 /* This C header file is generated by NIT to compile modules and programs that requires ./../lib/standard/math. */
 #ifndef standard___math_sep
 #define standard___math_sep
-#include "standard___kernel._sep.h"
+#include "standard___collection._sep.h"
 #include <nit_common.h>
 #include "math._nitni.h"
 extern const char *LOCATE_standard___math;
@@ -18,10 +18,12 @@ extern const int SFT_standard___math[];
 #define CALL_standard___math___Float___log(recv) ((standard___math___Float___log_t)CALL((recv), (SFT_standard___math[1] + 8)))
 #define CALL_standard___math___Float___exp(recv) ((standard___math___Float___exp_t)CALL((recv), (SFT_standard___math[1] + 9)))
 #define CALL_standard___math___Float___rand(recv) ((standard___math___Float___rand_t)CALL((recv), (SFT_standard___math[1] + 10)))
-#define CALL_standard___math___Object___atan2(recv) ((standard___math___Object___atan2_t)CALL((recv), (SFT_standard___math[2] + 0)))
-#define CALL_standard___math___Object___pi(recv) ((standard___math___Object___pi_t)CALL((recv), (SFT_standard___math[2] + 1)))
-#define CALL_standard___math___Object___srand_from(recv) ((standard___math___Object___srand_from_t)CALL((recv), (SFT_standard___math[2] + 2)))
-#define CALL_standard___math___Object___srand(recv) ((standard___math___Object___srand_t)CALL((recv), (SFT_standard___math[2] + 3)))
+#define CALL_standard___math___Float___hypot_with(recv) ((standard___math___Float___hypot_with_t)CALL((recv), (SFT_standard___math[1] + 11)))
+#define CALL_standard___math___Collection___rand(recv) ((standard___math___Collection___rand_t)CALL((recv), (SFT_standard___math[2] + 0)))
+#define CALL_standard___math___Object___atan2(recv) ((standard___math___Object___atan2_t)CALL((recv), (SFT_standard___math[3] + 0)))
+#define CALL_standard___math___Object___pi(recv) ((standard___math___Object___pi_t)CALL((recv), (SFT_standard___math[3] + 1)))
+#define CALL_standard___math___Object___srand_from(recv) ((standard___math___Object___srand_from_t)CALL((recv), (SFT_standard___math[3] + 2)))
+#define CALL_standard___math___Object___srand(recv) ((standard___math___Object___srand_t)CALL((recv), (SFT_standard___math[3] + 3)))
 static const char * const LOCATE_standard___math___Int___rand = "math::Int::rand";
 val_t standard___math___Int___rand(val_t p0);
 typedef val_t (*standard___math___Int___rand_t)(val_t p0);
@@ -58,6 +60,14 @@ typedef val_t (*standard___math___Float___exp_t)(val_t p0);
 static const char * const LOCATE_standard___math___Float___rand = "math::Float::rand";
 val_t standard___math___Float___rand(val_t p0);
 typedef val_t (*standard___math___Float___rand_t)(val_t p0);
+static const char * const LOCATE_standard___math___Float___hypot_with = "math::Float::hypot_with";
+val_t standard___math___Float___hypot_with(val_t p0, val_t p1);
+typedef val_t (*standard___math___Float___hypot_with_t)(val_t p0, val_t p1);
+static const char * const LOCATE_standard___math___Collection___rand = "math::Collection::rand";
+val_t standard___math___Collection___rand(val_t p0);
+typedef val_t (*standard___math___Collection___rand_t)(val_t p0);
+  void OC_standard___math___Collection___rand_2(struct stack_frame_t *closctx, val_t p0);
+  typedef void (*OC_standard___math___Collection___rand_2_t)(struct stack_frame_t *closctx, val_t p0);
 static const char * const LOCATE_standard___math___Object___atan2 = "math::Object::atan2";
 val_t standard___math___Object___atan2(val_t p0, val_t p1, val_t p2);
 typedef val_t (*standard___math___Object___atan2_t)(val_t p0, val_t p1, val_t p2);