From: "Sander Striker" <[EMAIL PROTECTED]>
Sent: Wednesday, July 25, 2001 11:43 AM


> > >void *ap_hack_apr_set_##type##_inherit = apr_set_##name##_inherit
> > >
> > >This is obviosly wrong.  No amount of mucking with APR_DECLARE_* will resolve 
>this.
> >
> > I worked around it with the change in the patch below. There are
> > others, of
> > course, but this gets all current modules building again. The other option
> > is to have make_exports.awk know how to do the same transform but to do
> > that it would require full knowledge of ALL such macros.
> 
> Exactly how many of those macros are there?
> If there aren't a boat load of them it might be worthwhile
> to implement them.

The idea is to provide an entire host of accessors, allowing us to easily export the
pool, lock, inherit, and other 'common' fields.  I dunno if this is worth the pain.
Leaving the declarations as native is perhaps the simplest solution.

> > Maybe we could pass the .h files through the CPP before feeding them to
> > make_exports.awk? Probably not practical but might be worth a try.

That would (likely) be the only way.

Reply via email to