Opened 11 years ago

Closed 11 years ago

Last modified 8 years ago

#1203 closed bug (fixed)

Foreign.Marshal.Utils.{copyBytes or moveBytes} documentation incorrect

Reported by: Isaac Dupree <id@…> Owned by:
Priority: normal Milestone:
Component: libraries/base Version: 6.6
Keywords: Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: None/Unknown Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:


copyBytes "copies the given number of _bytes_"

moveBytes "copies the given number of _elements_"

e.g. seen at

But they actually do (approximately) the same thing! I think it must really be bytes, not elements - after all, they don't even require (Storable a).

Change History (4)

comment:1 Changed 11 years ago by igloo

Resolution: fixed
Status: newclosed

You are right, it is bytes. I've fixed the 6.6 branch and HEAD. Thanks for the report!

comment:2 Changed 9 years ago by simonmar

Architecture: UnknownUnknown/Multiple

comment:3 Changed 9 years ago by simonmar

Operating System: UnknownUnknown/Multiple

comment:4 Changed 8 years ago by simonmar

difficulty: Easy (1 hr)Easy (less than 1 hour)
Note: See TracTickets for help on using tickets.