@@ -298,14 +298,14 @@ RLCPPAPI inline unsigned int TextLength(const std::string& text) {
298
298
/* *
299
299
* Get text length, checks for '\0' ending
300
300
*/
301
- RLAPI inline std::string TextSubtext (const std::string& text, int position, int length) {
301
+ RLCPPAPI inline std::string TextSubtext (const std::string& text, int position, int length) {
302
302
return ::TextSubtext (text.c_str (), position, length);
303
303
}
304
304
305
305
/* *
306
306
* Replace text string
307
307
*/
308
- RLAPI inline std::string TextReplace (const std::string& text, const std::string& replace, const std::string& by) {
308
+ RLCPPAPI std::string TextReplace (const std::string& text, const std::string& replace, const std::string& by) {
309
309
const char * input = text.c_str ();
310
310
char * output = ::TextReplace (const_cast <char *>(input), replace.c_str (), by.c_str ());
311
311
if (output != NULL ) {
@@ -319,7 +319,7 @@ RLAPI inline std::string TextReplace(const std::string& text, const std::string&
319
319
/* *
320
320
* Insert text in a position
321
321
*/
322
- RLAPI inline std::string TextInsert (const std::string& text, const std::string& insert, int position) {
322
+ RLCPPAPI std::string TextInsert (const std::string& text, const std::string& insert, int position) {
323
323
char * output = ::TextInsert (text.c_str (), insert.c_str (), position);
324
324
if (output != NULL ) {
325
325
std::string stringOutput (output);
@@ -332,7 +332,7 @@ RLAPI inline std::string TextInsert(const std::string& text, const std::string&
332
332
/* *
333
333
* Split text into multiple strings
334
334
*/
335
- RLAPI inline std::vector<std::string> TextSplit (const std::string& text, char delimiter) {
335
+ RLCPPAPI std::vector<std::string> TextSplit (const std::string& text, char delimiter) {
336
336
int count;
337
337
const char ** split = ::TextSplit (text.c_str (), delimiter, &count);
338
338
return std::vector<std::string>(split, split + count);
@@ -341,35 +341,35 @@ RLAPI inline std::vector<std::string> TextSplit(const std::string& text, char de
341
341
/* *
342
342
* Find first text occurrence within a string
343
343
*/
344
- RLAPI inline int TextFindIndex (const std::string& text, const std::string& find) {
344
+ RLCPPAPI inline int TextFindIndex (const std::string& text, const std::string& find) {
345
345
return ::TextFindIndex (text.c_str (), find.c_str ());
346
346
}
347
347
348
348
/* *
349
349
* Get upper case version of provided string
350
350
*/
351
- RLAPI inline std::string TextToUpper (const std::string& text) {
351
+ RLCPPAPI inline std::string TextToUpper (const std::string& text) {
352
352
return ::TextToUpper (text.c_str ());
353
353
}
354
354
355
355
/* *
356
356
* Get lower case version of provided string
357
357
*/
358
- RLAPI inline std::string TextToLower (const std::string& text) {
358
+ RLCPPAPI inline std::string TextToLower (const std::string& text) {
359
359
return ::TextToLower (text.c_str ());
360
360
}
361
361
362
362
/* *
363
363
* Get Pascal case notation version of provided string
364
364
*/
365
- RLAPI inline std::string TextToPascal (const std::string& text) {
365
+ RLCPPAPI inline std::string TextToPascal (const std::string& text) {
366
366
return ::TextToPascal (text.c_str ());
367
367
}
368
368
369
369
/* *
370
370
* Get integer value from text (negative values not supported)
371
371
*/
372
- RLAPI inline int TextToInteger (const std::string& text) {
372
+ RLCPPAPI inline int TextToInteger (const std::string& text) {
373
373
return ::TextToInteger (text.c_str ());
374
374
}
375
375
0 commit comments