mirror of
https://github.com/Interlisp/maiko.git
synced 2026-03-10 04:24:32 +00:00
Adds warning note to lisp2c.c LispStringToCStr regarding endianness sensitivity
This commit is contained in:
@@ -38,6 +38,8 @@ int LispStringSimpleLength(LispPTR lispstring) {
|
||||
return (arrayp->fillpointer);
|
||||
}
|
||||
|
||||
/* XXX: this string conversion is NOT useable on byte-swapped (little-endian) machines
|
||||
*/
|
||||
void LispStringToCStr(LispPTR lispstring, char *cstring) {
|
||||
OneDArray *arrayp;
|
||||
char *base;
|
||||
|
||||
Reference in New Issue
Block a user