Open Bug 561921 Opened 14 years ago Updated 2 years ago

Optimize use of 'size' and 'alignment' in ctypes

Categories

(Core :: js-ctypes, defect)

defect

Tracking

()

People

(Reporter: dwitte, Unassigned)

References

(Blocks 1 open bug)

Details

benjamn points out that, in several places, an ffi_type* is available yet we pass around size and alignment values separately. This is redundant.
Actually, this conflicts with bug 552076. We want to avoid generating ffi_types for arrays in particular, which means we need to carry around the size and alignment separately.

So, let's leave this for now. When libffi gets a nicer API for specifying arrays, we can revisit.
Assignee: dwitte → nobody
Status: ASSIGNED → NEW
Severity: normal → minor
Severity: minor → S4
You need to log in before you can comment on or make changes to this bug.