use nitg to bootstrap; drop bootstrap of nitc
[nit.git] / c_src / standard___string._ffi.c
diff --git a/c_src/standard___string._ffi.c b/c_src/standard___string._ffi.c
deleted file mode 100644 (file)
index aded659..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-/*
-       Extern implementation of Nit module string
-*/
-#include "standard___string._ffi.h"
-
-#include <stdio.h>
-
-String Float_to_precision_native___impl( float recv, bigint nb )
-{
-#line 830 "../lib/standard/string.nit"
-
-
-               int size;
-               char *str;
-
-               size = snprintf(NULL, 0, "%.*f", (int)nb, recv);
-               str = malloc(size + 1);
-               sprintf(str, "%.*f", (int)nb, recv );
-
-               return NativeString_to_s( str );
-       }