GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

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 tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • libscript/src
    • module-array.cpp
    • script-instance.cpp
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎libscript/src/module-array.cpp‎

Copy file name to clipboardExpand all lines: libscript/src/module-array.cpp
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ extern "C" MC_DLLEXPORT void MCArrayEvalEmpty(MCArrayRef& r_output)
141141
r_output = MCValueRetain(kMCEmptyArray);
142142
}
143143

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)
145145
{
146146
MCValueRef t_value;
147147
// If this is a numerical array, do it in order
@@ -173,7 +173,7 @@ extern "C" bool MCArrayRepeatForEachElement(void*& x_iterator, MCValueRef& r_ite
173173
return true;
174174
}
175175

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)
177177
{
178178
MCNameRef t_key;
179179
MCValueRef t_value;
@@ -189,4 +189,4 @@ extern "C" bool MCArrayRepeatForEachKey(void*& x_iterator, MCStringRef& r_iteran
189189
x_iterator = (void *)(t_offset);
190190

191191
return true;
192-
}
192+
}
Collapse file

‎libscript/src/script-instance.cpp‎

Copy file name to clipboardExpand all lines: libscript/src/script-instance.cpp
+5-5Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2172,7 +2172,7 @@ bool MCScriptCallHandlerOfInstanceInternal(MCScriptInstanceRef self, MCScriptHan
21722172

21732173
////////////////////////////////////////////////////////////////////////////////
21742174

2175-
extern "C" bool MCScriptBuiltinRepeatCounted(uinteger_t *x_count)
2175+
extern "C" bool MC_DLLEXPORT MCScriptBuiltinRepeatCounted(uinteger_t *x_count)
21762176
{
21772177
if (*x_count == 0)
21782178
return false;
@@ -2181,22 +2181,22 @@ extern "C" bool MCScriptBuiltinRepeatCounted(uinteger_t *x_count)
21812181
return true;
21822182
}
21832183

2184-
extern "C" bool MCScriptBuiltinRepeatUpToCondition(double p_counter, double p_limit)
2184+
extern "C" bool MC_DLLEXPORT MCScriptBuiltinRepeatUpToCondition(double p_counter, double p_limit)
21852185
{
21862186
return p_counter <= p_limit;
21872187
}
21882188

2189-
extern "C" double MCScriptBuiltinRepeatUpToIterate(double p_counter, double p_step)
2189+
extern "C" double MC_DLLEXPORT MCScriptBuiltinRepeatUpToIterate(double p_counter, double p_step)
21902190
{
21912191
return p_counter + p_step;
21922192
}
21932193

2194-
extern "C" bool MCScriptBuiltinRepeatDownToCondition(double p_counter, double p_limit)
2194+
extern "C" bool MC_DLLEXPORT MCScriptBuiltinRepeatDownToCondition(double p_counter, double p_limit)
21952195
{
21962196
return p_counter >= p_limit;
21972197
}
21982198

2199-
extern "C" double MCScriptBuiltinRepeatDownToIterate(double p_counter, double p_step)
2199+
extern "C" double MC_DLLEXPORT MCScriptBuiltinRepeatDownToIterate(double p_counter, double p_step)
22002200
{
22012201
return p_counter + p_step;
22022202
}

0 commit comments

Comments
0 (0)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.