SC_String_New()

Creates a string instance.

Synopsis:

#include <scoreloop/sc_string.h>
 
SC_Error_t SC_String_New(SC_String_h *pSelf, const char *text)

Arguments:

pSelf

Opaque handle of the string instance created.

text

A pointer to the UTF-8 encoded char data.

Library:

libscoreloopcore

Description:

This method creates an instance of SC_String. The string instance is created with a reference count equal to 1.

Returns:

SC_Error_t A return code (a value of SC_OK indicates success, any other value indicates an error).

Last modified: 2013-12-21

comments powered by Disqus