GeezerVison is showing github.com — [[ Cleanup ]] Add more missing MC_DLLEXPORT annotations. · livecode/livecode@590a7fc
This repository was archived by the owner on Aug 31, 2021. It is now read-only.
File treeExpand file treeCollapse file tree Open diff view settings Expand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboardExpand all lines: libscript/src/module-array.cpp +3-3Lines changed: 3 additions & 3 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -141,7 +141,7 @@ extern "C" MC_DLLEXPORT void MCArrayEvalEmpty(MCArrayRef& r_output) | 141 | 141 | r_output = MCValueRetain(kMCEmptyArray); | 142 | 142 | } | 143 | 143 |
| 144 | | -extern "C" bool MCArrayRepeatForEachElement(void*& x_iterator, MCValueRef& r_iterand, MCArrayRef p_array) | | 144 | +extern "C" bool MC_DLLEXPORT MCArrayRepeatForEachElement(void*& x_iterator, MCValueRef& r_iterand, MCArrayRef p_array) | 145 | 145 | { | 146 | 146 | MCValueRef t_value; | 147 | 147 | // If this is a numerical array, do it in order | @@ -173,7 +173,7 @@ extern "C" bool MCArrayRepeatForEachElement(void*& x_iterator, MCValueRef& r_ite | 173 | 173 | return true; | 174 | 174 | } | 175 | 175 |
| 176 | | -extern "C" bool MCArrayRepeatForEachKey(void*& x_iterator, MCStringRef& r_iterand, MCArrayRef p_array) | | 176 | +extern "C" bool MC_DLLEXPORT MCArrayRepeatForEachKey(void*& x_iterator, MCStringRef& r_iterand, MCArrayRef p_array) | 177 | 177 | { | 178 | 178 | MCNameRef t_key; | 179 | 179 | MCValueRef t_value; | @@ -189,4 +189,4 @@ extern "C" bool MCArrayRepeatForEachKey(void*& x_iterator, MCStringRef& r_iteran | 189 | 189 | x_iterator = (void *)(t_offset); | 190 | 190 |
| 191 | 191 | return true; | 192 | | -} | | 192 | +} |
Collapse file Copy file name to clipboardExpand all lines: libscript/src/script-instance.cpp +5-5Lines changed: 5 additions & 5 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -2172,7 +2172,7 @@ bool MCScriptCallHandlerOfInstanceInternal(MCScriptInstanceRef self, MCScriptHan | 2172 | 2172 |
| 2173 | 2173 | //////////////////////////////////////////////////////////////////////////////// | 2174 | 2174 |
| 2175 | | -extern "C" bool MCScriptBuiltinRepeatCounted(uinteger_t *x_count) | | 2175 | +extern "C" bool MC_DLLEXPORT MCScriptBuiltinRepeatCounted(uinteger_t *x_count) | 2176 | 2176 | { | 2177 | 2177 | if (*x_count == 0) | 2178 | 2178 | return false; | @@ -2181,22 +2181,22 @@ extern "C" bool MCScriptBuiltinRepeatCounted(uinteger_t *x_count) | 2181 | 2181 | return true; | 2182 | 2182 | } | 2183 | 2183 |
| 2184 | | -extern "C" bool MCScriptBuiltinRepeatUpToCondition(double p_counter, double p_limit) | | 2184 | +extern "C" bool MC_DLLEXPORT MCScriptBuiltinRepeatUpToCondition(double p_counter, double p_limit) | 2185 | 2185 | { | 2186 | 2186 | return p_counter <= p_limit; | 2187 | 2187 | } | 2188 | 2188 |
| 2189 | | -extern "C" double MCScriptBuiltinRepeatUpToIterate(double p_counter, double p_step) | | 2189 | +extern "C" double MC_DLLEXPORT MCScriptBuiltinRepeatUpToIterate(double p_counter, double p_step) | 2190 | 2190 | { | 2191 | 2191 | return p_counter + p_step; | 2192 | 2192 | } | 2193 | 2193 |
| 2194 | | -extern "C" bool MCScriptBuiltinRepeatDownToCondition(double p_counter, double p_limit) | | 2194 | +extern "C" bool MC_DLLEXPORT MCScriptBuiltinRepeatDownToCondition(double p_counter, double p_limit) | 2195 | 2195 | { | 2196 | 2196 | return p_counter >= p_limit; | 2197 | 2197 | } | 2198 | 2198 |
| 2199 | | -extern "C" double MCScriptBuiltinRepeatDownToIterate(double p_counter, double p_step) | | 2199 | +extern "C" double MC_DLLEXPORT MCScriptBuiltinRepeatDownToIterate(double p_counter, double p_step) | 2200 | 2200 | { | 2201 | 2201 | return p_counter + p_step; | 2202 | 2202 | } | |
|