X-Git-Url: http://nitlanguage.org diff --git a/c_src/string_nit.h b/c_src/string_nit.h index 5653f27..c1c7818 100644 --- a/c_src/string_nit.h +++ b/c_src/string_nit.h @@ -1,19 +1,21 @@ #ifndef __STRING_NIT_H #define __STRING_NIT_H +#include +#include /* This file is part of NIT ( http://www.nitlanguage.org ). * - * Copyright 2004-2008 Jean Privat - * * This file is free software, which comes along with NIT. This software is * distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; - * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A + * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A * PARTICULAR PURPOSE. You can modify it is you want, provided this header * is kept unaltered, and a notification of the changes is added. * You are allowed to redistribute it and sell it, alone or is a part of * another product. */ -#define kernel_Sys_Sys_native_argc_0(self) (glob_argc) -#define kernel_Sys_Sys_native_argv_1(self, p0) (glob_argv[(p0)]) +long native_int_length_str(long recv); +void native_int_to_s(long recv, char* str, long buflen); +long native_byte_length_str(unsigned char recv); +void native_byte_to_s(unsigned char recv, char* str, long buflen); #endif