From c3b73cbeb8c1f5588b0f516264ae34778975e6d6 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Mon, 10 Apr 2000 16:20:24 -0300 Subject: [PATCH] comments (detail) --- lobject.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lobject.h b/lobject.h index 09d43f6f..57ea2bd0 100644 --- a/lobject.h +++ b/lobject.h @@ -1,5 +1,5 @@ /* -** $Id: lobject.h,v 1.58 2000/03/30 20:55:50 roberto Exp roberto $ +** $Id: lobject.h,v 1.59 2000/03/31 16:28:45 roberto Exp roberto $ ** Type definitions for Lua objects ** See Copyright Notice in lua.h */ @@ -110,7 +110,7 @@ typedef struct TString { unsigned long hash; int constindex; /* hint to reuse constants (= -1 if this is a userdata) */ unsigned char marked; - char str[1]; /* \0 byte already reserved */ + char str[1]; /* variable length string!! must be the last field! */ } TString;