2 Extern implementation of Nit module native
7 #include "core__native._ffi.h"
9 #include <android/log.h>
10 #define PRINT_ERROR(...) (void)__android_log_print(ANDROID_LOG_WARN, "Nit", __VA_ARGS__)
12 #define PRINT_ERROR(...) fprintf(stderr, __VA_ARGS__)
14 #line 17 "../lib/core/text/native.nit"
21 #include <libkern/OSByteOrder.h>
22 #define be32toh(x) OSSwapBigToHostInt32(x)
25 #define be32toh(val) _byteswap_ulong(val)
29 #define be16toh(val) (((val) >> 8) | ((val) << 8))
30 #define be32toh(val) ((be16toh((val) << 16) | (be16toh((val) >> 16))))
33 #define be32toh(val) betoh32(val)
35 double core__native___CString_atof___impl( char* self
)
37 #line 131 "../lib/core/text/native.nit"
40 uint32_t core__native___UInt32_code_point___impl( uint32_t self
)
42 #line 90 "../lib/core/text/native.nit"