Skip to content

Commit 0797e84

Browse files
authored
Merge pull request OpenSees#1727 from mhscott/element-api-dummy
Adding dummy implementations of SetString and SetStringList
2 parents e9fddb6 + e99cb13 commit 0797e84

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

SRC/api/elementAPI_Dummy.cpp

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,17 @@ int OPS_SetDoubleOutput(int *numData, double *data, bool scalar)
155155
return 0;
156156
}
157157

158+
extern "C"
159+
int OPS_SetString(const char *str)
160+
{
161+
return 0;
162+
}
158163

164+
extern "C" int
165+
OPS_SetStringList(std::vector<const char*>& data)
166+
{
167+
return 0;
168+
}
159169

160170
extern "C"
161171
const char *OPS_GetString(void)

0 commit comments

Comments
 (0)