sgs_PushStringAlloc [function]
char* sgs_PushStringAlloc( sgs_Context* C, sgs_SizeVal size )
Push an uninitialized string buffer, returns pointer to buffer.
Created string is a valid resource in terms of acquisition/release but not hashed and internalized yet, thus it cannot be used in indexing/comparison functions until it's finalized, see sgs_FinalizeStringAlloc(P).
- It is safe to write string data (to pointer retrieved from sgs_GetStringPtr(P) function) up until finalization.