[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [] in C struct
- From: Aurora <bravefly@...>
- Date: Thu, 6 May 2010 16:55:14 +0800
struct cookie
{
struct cookie *next;
char *name;
char *value;
char *domain;
char *path;
long expire;
unsigned int version;
short secure;
[
short session; /* transient: do not (de)serialize */
short env; /* transient: do not (de)serialize */
short modified; /* transient: do not (de)serialize */
]
};
On Thu, May 6, 2010 at 4:47 PM, Florian Weimer <fw@deneb.enyo.de> wrote:
> * Silence:
>
>> What's the meaning of "[ ]" in the struct ?
>>
>> struct astr
>> {
>> char *name;
>> short secure;
>> [
>> short sst;
>> short env;
>> ]
>> };
>
> In C, that's a syntax error. What's the context of this code snippet?
> How is it related to Lua?
>