Opened 12 years ago

Last modified 8 years ago

#960 new defect

Need API to box and unbox FILE* pointers as Scheme ports

Reported by: johnwcowan Owned by:
Priority: major Milestone: someday
Component: core libraries Version: 4.8.x
Keywords: C, ports Cc: chicken-users@…
Estimated difficulty: hard

Description

The C API should be able to box a FILE* as a Scheme input port or output port.

There should also be a way to extract a FILE* from a Scheme port, or NULL if the port is not file-based.

Ideally this should be done by extending the list of foreign type specifiers.

Change History (1)

comment:1 Changed 8 years ago by sjamaan

Estimated difficulty: hard
Note: See TracTickets for help on using tickets.