Merge: doc: fixed some typos and other misc. corrections
[nit.git] / c_src / core__environ._ffi.c
1 /*
2 Extern implementation of Nit module environ
3 */
4 #include <stdlib.h>
5 #include <stdio.h>
6 #include <stdint.h>
7 #include "core__environ._ffi.h"
8 #ifdef ANDROID
9 #include <android/log.h>
10 #define PRINT_ERROR(...) (void)__android_log_print(ANDROID_LOG_WARN, "Nit", __VA_ARGS__)
11 #else
12 #define PRINT_ERROR(...) fprintf(stderr, __VA_ARGS__)
13 #endif
14 char* core__environ___CString_get_environ___impl( char* self )
15 {
16 #line 59 "../lib/core/environ.nit"
17
18 return getenv(self); }