Tue Jan 08 23:49:49 2013: Request 78081 was acted upon. Transaction: Correspondence added by BULKDD Queue: Win32-API Subject: ::Struct inside ::Struct is always inline, never a pointer Broken in: 0.68 Severity: Normal Owner: Nobody Requestors: bul...@cpan.org Status: open Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=78081 >
On Thu Jun 28 12:43:36 2012, BULKDD wrote: > On Thu Jun 28 04:14:26 2012, ACALPINI wrote: > > as mentioned in the documentation, when you create a structure named > > "FOO", a pointer type "LPFOO" is created automatically. you can use > > "LPFOO" as the type of a member in another structure. so I think this is > > a non-issue. > > > > cheers, > > Aldo > > Doesn't work currently. "LPFOO2" has an empty (or undef?) typedef hash > slice rather than the slice being the normal array ref. The problems > seem to be related to the fact that LPFOO2 isn't in > %Win32::API::Struct::Known. Fixed in ff9621b595. _____________________________________ When C<TYPE> contains a Win32::API::Struct type declared with L<Win32::API::Struct/typedef> with " *" postfixed to C<TYPE> parameter, C<NAME> will be a alias for the pointer version of the struct type. Creating an alias for a struct type is not supported, you have to call L<Win32::API::Struct/typedef> again. Passing a struct type as C<TYPE> without the " *" postfix is not supported. _____________________________________