Opened 11 years ago

Closed 11 years ago

#4569 closed defect (fixed)

A change in Perl typemaps causes a serious bug in bindings

Reported by: Ari Jolma Owned by: Ari Jolma
Priority: normal Milestone:
Component: PerlBindings Version: unspecified
Severity: major Keywords:
Cc:

Description

A change in Perl typemaps in r23038 makes some methods aware of their context so that they return an array of numbers in an array context. The change is basically made to ease the use of the bindings.

The change causes a bug in Points method of Geometry class as now also methods GetPoint_2D and GetPoint_3D return arrays in array context.

The Points method is fixed in r23443 by being explicit about wanting array references for points in an array of points when the Points method returns such.

Change History (1)

comment:1 by Ari Jolma, 11 years ago

Resolution: fixed
Status: newclosed

Fixed in r23443.

Note: See TracTickets for help on using tickets.