Module: NNCore::LibNanomsg::NNIOVecLayout
- Included in:
- NNIOVec
- Defined in:
- lib/nn-core/structs.rb
Overview
Structs for working with raw buffers (not recommended)
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
7 8 9 10 11 12 |
# File 'lib/nn-core/structs.rb', line 7 def self.included(base) base.class_eval do layout :iov_base, :pointer, :iov_len, :size_t end end |