Skip to content

Conversation

@samuelpowell
Copy link
Member

@samuelpowell samuelpowell commented Dec 30, 2018

Documentation states that the signature for mmap to BitArray types is identical to that of normal arrays, though in fact the type required for the offset is more specific.

(This is pertinent because these methods can be put to good use in manipulating memory mapped registers on embedded systems, where it is natural to express an offset in, e.g., /dev/mem/ using the word size of the machine, often < 64 bits.)

@ararslan ararslan added the stdlib Julia's standard library label Dec 30, 2018
@mbauman
Copy link
Member

mbauman commented Dec 31, 2018

Mind adding a simple test for this case?

@samuelpowell
Copy link
Member Author

@mbauman sure - do you need an explicit @test statement or will cd2e8f6, which will error in the case of a regression, suffice?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

stdlib Julia's standard library

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants