summaryrefslogtreecommitdiff
path: root/src/lib/efl_mono/efl_custom_exports_mono.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/efl_mono/efl_custom_exports_mono.c')
-rw-r--r--src/lib/efl_mono/efl_custom_exports_mono.c26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/lib/efl_mono/efl_custom_exports_mono.c b/src/lib/efl_mono/efl_custom_exports_mono.c
index 590bb4e..ede573f 100644
--- a/src/lib/efl_mono/efl_custom_exports_mono.c
+++ b/src/lib/efl_mono/efl_custom_exports_mono.c
@@ -1,3 +1,18 @@
1/*
2 * Copyright 2019 by its authors. See AUTHORS.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
1#include "Eo.h" 16#include "Eo.h"
2#include "Eina.h" 17#include "Eina.h"
3#include "Ecore.h" 18#include "Ecore.h"
@@ -187,6 +202,17 @@ EAPI Efl_Substitute_Ctor_Cb efl_mono_avoid_top_level_constructor_callback_addr_g
187 return &_efl_mono_avoid_top_level_constructor_cb; 202 return &_efl_mono_avoid_top_level_constructor_cb;
188} 203}
189 204
205// Environment wrappers //
206EAPI const char *efl_mono_native_getenv(const char *name)
207{
208 return getenv(name);
209}
210
211EAPI Eina_Error efl_mono_native_setenv(const char *name, const char *value, int overwrite)
212{
213 return setenv(name, value, overwrite);
214}
215
190// Iterator Wrapper // 216// Iterator Wrapper //
191 217
192typedef struct _Eina_Iterator_Wrapper_Mono 218typedef struct _Eina_Iterator_Wrapper_Mono