Re: get Cstring

2013-05-02 Thread Alfred Van Hoek
On May 2, 2013, at 10:39 PM, Bob Delaney wrote: > In my plugin I have for inputString as a REALstring: > > REALstringData*rsData; > > REALGetStringData(inputString, REALGetStringEncoding(inputString), rsData); > > For that last statement I get the warning: 'rsData' is used unin

Re: get Cstring

2013-05-02 Thread Joe Ranieri
On Fri, May 3, 2013 at 12:39 AM, Bob Delaney wrote: > In my plugin I have for inputString as a REALstring: > > REALstringData *rsData; > > REALGetStringData(inputString, REALGetStringEncoding(inputString), rsData); > > For that last statement I get the warning: 'rsData' is used uninitiali

Re: get Cstring

2013-05-02 Thread Bob Delaney
In my plugin I have for inputString as a REALstring: REALstringData *rsData; REALGetStringData(inputString, REALGetStringEncoding(inputString), rsData); For that last statement I get the warning: 'rsData' is used uninitialized in this function How do I initialize 'rsData'? And I woul

Re: get Cstring

2013-05-02 Thread Bob Delaney
On May 2, 2013, at 9:11 PM, Alfred Van Hoek wrote: > const char* myCString = (const char*)data->data; Thanks! Bob ___ Unsubscribe or switch delivery mode: Search the archives:

Re: get Cstring

2013-05-02 Thread Alfred Van Hoek
On May 2, 2013, at 7:30 PM, Bob Delaney wrote: > How does one get a Cstring from a REALstringData object? Not sure what you would mean, given the REALstringData structs tells you so: REALstringData* data; const char* myCString = (const char*)data->data; not sure if data->data is null terminat

get Cstring

2013-05-02 Thread Bob Delaney
How does one get a Cstring from a REALstringData object? Bob ___ Unsubscribe or switch delivery mode: Search the archives: