1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-01-13 15:18:14 +00:00

Adds warning note to lisp2c.c LispStringToCStr regarding endianness sensitivity

This commit is contained in:
Nick Briggs 2025-07-26 17:47:24 -07:00
parent cfbd78007a
commit 78dfa9b243

View File

@ -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;