lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


--- In lua-l@yahoogroups.com, "xenarcher <nickl@v...>" <nickl@v...> 
wrote:
> If I have a pointer to a TString object, is there an easy way to 
get 
> the corresponding character array? (i.e.: the corresponding char * 
> object)

Whoops. Never mind, I figured it out:

(char *)(t + 1)

where t is the TString pointer.