3.3.5. scriba_UndefSbData()

[<<<] [>>>]

This function sets an SbData structure to hold the undefined value.

This function should should not be used instead of @xref{scriba_InitSbData()}. While that function should be used to inititalize the memory structure this function should be used to set the value of an alreasdy initialized and probably used SbData variable to undef.

The difference inside is that if the SbData structure is a string then this function releases the memory occupied by the string, while @xref{scriba_InitSbData()} does not.

See also @xref{scriba_NewSbLong()}, @xref{scriba_NewSbDouble()}, @xref{scriba_NewSbUndef()}, @xref{scriba_NewSbString()}, @xref{scriba_NewSbBytes()}, @xref{scriba_DestroySbData()}.

void scriba_UndefSbData(pSbProgram pProgram,
                        pSbData p
  ){

[<<<] [>>>]