![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Note that like CChar is a pointer to char, CString is actually a *pointer* to string: a char ** in C terms. If you need to take a String out of a char *, use CChar>>#asString.
In general, I behave like a cross between an array of characters and a pointer to a character. I provide the protocol for both data types. My #value method returns a Smalltalk String, as you would expect for a scalar datatype.
1.47.1 CString class: accessing (class) 1.47.2 CString class: instance creation (class) 1.47.3 CString: accessing (instance)
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |