Opened 14 years ago

Closed 14 years ago

#382 closed enhancement (fixed)

implement pointer-vectors

Reported by: felix winkelmann Owned by: felix winkelmann
Priority: minor Milestone:
Component: unknown Version: 4.6.x
Keywords: pointer-vector Cc:
Estimated difficulty:

Description

lolevel unit:

(make-pointer-vector SIZE [INIT [STATIC]])
(release-pointer-vector PV)
(pointer-vector? X)
(pointer-vector PTR ...)
(pointer-vector-ref PV I)
(pointer-vector-set! PV I PTR)

ref/set! accept/return #f for NULL-pointers.

Add foreign-type pointer-vector, which maps to void **.

Change History (3)

comment:1 Changed 14 years ago by felix winkelmann

The coops egg should also be updated to include ยด<pointer-vector> (in coops-primitive-objects.scm`).

comment:2 Changed 14 years ago by felix winkelmann

Has been merged into "experimental". The class in coops-primitive-objects.scm still has to be added.

comment:3 Changed 14 years ago by felix winkelmann

Resolution: โ†’ fixed
Status: new โ†’ closed
Note: See TracTickets for help on using tickets.