slang-users mailing list

[2005 Date Index] [2005 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

Re: [slang-users] incomplete typedefs in slang.h



On Fri, 17 Jun 2005, Pavel Roskin wrote:

Maybe the structures are hidden for a reason?  See, they even start with
underscore, which means they are private.  Perhaps you should only use
pointers to the opaque types without trying to dereference or allocate
them.

I checked the struct definition. At least _pSLRegexp_Type is meant to be passed as a function argument, so it must be set by the calling routine. Therefore its definition has to be public. On the other hand if these structs are meant to be internal, then slang.h should be edited to remove all references to them. IMHO, having references to private interfaces in a public header is a Bad Thing(tm).

Regards,
Pavel Roskin

Cheers,

Theodoros Kalamatianos

_______________________________________________
To unsubscribe, visit http://jedsoft.org/slang/mailinglists.html


[2005 date index] [2005 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]