apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cliff Woolley <jwool...@virginia.edu>
Subject RE: cvs commit: apr-util/include apr_buckets.h
Date Sun, 02 Jun 2002 23:14:54 GMT
On Sun, 2 Jun 2002, Ryan Bloom wrote:

> >   +    enum {
> >   +        /** This bucket type represents actual data to send to the
> client. */
> >   +        APR_BUCKET_DATA = 0,
> >   +        /** This bucket type represents metadata. */
> >   +        APR_BUCKET_METADATA = 1
> >   +    } is_metadata;
>
> By turning this into an enum, you have removed the ability to extend
> this field.


Um, in what way?  Isn't enum==int except with specified identifiers
getting specified values?

--Cliff


Mime
View raw message