ruby / fiddle

A libffi wrapper for Ruby.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

struct implement memoryview

dsisnero opened this issue · comments

since c struct are contiguous in memory - have them implement the memoryview interface. That way we can use them with Fiddle::MemoryView

It's a good idea.