Thu Jun 28 04:14:26 2012: Request 78081 was acted upon.
Transaction: Correspondence added by ACALPINI
       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: new
 Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=78081 >


On Wed Jun 27 22:04:41 2012, BULKDD wrote:
> It seems to me that currently, in 0.68, and 0.70, if you create a
> ::Struct, with another ::Struct, as a member, the child ::Struct is
> always inlined into the parent struct. A ::Struct can not have a
> ::Struct pointer as a member. There is no code path to create such a
> thing. Also there is no public api way of obtaining a pointer to the
> packed ::Struct string scalar. So I ask, how should the API to create a
> ::Struct * member of a ::Struct be?

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

Reply via email to