No, C.Strings.chars_ptr is intended for interfacing with C components, and the question didn't state that this type was an interface to C components.

You may go back to the question

You may also:

NEXT     Skip to the next section.

OUTLINE  Go up to the outline of lesson 8

David A. Wheeler (dwheeler@dwheeler.com)

The master copy of this file is at "http://www.adahome.com/Tutorials/Lovelace/s8s2r4.htm".