[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
with-cstr
- To: info-mcl@cambridge.apple.com
- Subject: with-cstr
- From: engber@aristotle.ils.nwu.edu (Mike Engber)
- Date: Tue, 1 Oct 91 16:38:44 CDT
Could some tell me how LISP strings are represented internally by MCL.
I want to write some efficient code to pass lisp strings to the toolbox.
Calls like TextBox just require a pointer to the first char and you explicitly
pass them the length. Is there a way to get a macptr to the first char
in a LISP string?
I know about with-pstrs - but that limits me to 255 chars + I assume it
makes a copy of the string (maybe not)
I discovered with-cstrs - could someone tell me if that makes a copy of
the string? If not, it should do the trick.
-ME