Stas Bekman wrote:

>Stas Bekman wrote:
>  
>
>>I'm not quite following the change from:
>>
>>maint:
>>
>>  =for apidoc Am|void|Newz|int id|void* ptr|int nitems|type
>>  The XSUB-writer's interface to the C C<malloc> function.  The allocated
>>  memory is zeroed with C<memzero>.
>>
>>blead:
>>
>>  =for apidoc Am|void|Newxz|void* ptr|int nitems|type
>>  The XSUB-writer's interface to the C C<malloc> function.  The allocated
>>  memory is zeroed with C<memzero>.  See also C<Newx>.
>>
>>The blead part goes onto:
>>
>>  In 5.9.3, Newx() and friends replace the older New() API, and drops
>>  the first parameter, I<x>, a debug aid which allowed callers to identify
>>  themselves.  This aid has been superceded by a new build option,
>>  PERL_MEM_LOG (see L<perlhack/PERL_MEM_LOG>).  The older API is still
>>  there for use in XS modules supporting older perls.
>>
>>but the older API is not available. I can no longer compile code:
>>
>>  Newz(702, mg, 1, MAGIC);
>>
>>macro "Newz" requires 5 arguments, but only 4 given
>>
>>so where is the backwards compatibility? why breaking the existing code?
>>    
>>
>
>Hmm, that looks like a copy and paste error:
>
Yep.  Fixed in change 25196.  Sorry about that.



------------------------------------------------
Radan Computational Ltd.

The information contained in this message and any files transmitted with it are 
confidential and intended for the addressee(s) only.  If you have received this 
message in error or there are any problems, please notify the sender 
immediately.  The unauthorized use, disclosure, copying or alteration of this 
message is strictly forbidden.  Note that any views or opinions presented in 
this email are solely those of the author and do not necessarily represent 
those of Radan Computational Ltd.  The recipient(s) of this message should 
check it and any attached files for viruses: Radan Computational will accept no 
liability for any damage caused by any virus transmitted by this email.

Reply via email to