diff options
Diffstat (limited to 'src/lib/efl_mono')
-rw-r--r-- | src/lib/efl_mono/efl_custom_exports_mono.c | 11 |
1 files changed, 11 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 8d57ad730f..aa2572f49d 100644 --- a/src/lib/efl_mono/efl_custom_exports_mono.c +++ b/src/lib/efl_mono/efl_custom_exports_mono.c | |||
@@ -125,6 +125,12 @@ EAPI void efl_mono_native_free_ref(void **ptr) | |||
125 | free(*ptr); | 125 | free(*ptr); |
126 | } | 126 | } |
127 | 127 | ||
128 | EAPI void efl_mono_native_stringshare_del_ref(void **str) | ||
129 | { | ||
130 | if (!str) return; | ||
131 | eina_stringshare_del(*str); | ||
132 | } | ||
133 | |||
128 | EAPI void *efl_mono_native_alloc_copy(const void *val, unsigned int size) | 134 | EAPI void *efl_mono_native_alloc_copy(const void *val, unsigned int size) |
129 | { | 135 | { |
130 | if (!val) return NULL; | 136 | if (!val) return NULL; |
@@ -161,6 +167,11 @@ EAPI Eina_Free_Cb efl_mono_native_free_addr_get() | |||
161 | return (Eina_Free_Cb)free; | 167 | return (Eina_Free_Cb)free; |
162 | } | 168 | } |
163 | 169 | ||
170 | EAPI Eina_Free_Cb efl_mono_native_stringshare_del_addr_get() | ||
171 | { | ||
172 | return (Eina_Free_Cb)eina_stringshare_del; | ||
173 | } | ||
174 | |||
164 | EAPI Eina_Free_Cb efl_mono_native_efl_unref_addr_get() | 175 | EAPI Eina_Free_Cb efl_mono_native_efl_unref_addr_get() |
165 | { | 176 | { |
166 | return (Eina_Free_Cb)efl_mono_thread_safe_efl_unref; | 177 | return (Eina_Free_Cb)efl_mono_thread_safe_efl_unref; |