Module: Cudd::Wrapper

Extended by:
FFI::Library
Defined in:
lib/cudd-rb/wrapper.rb

Constant Summary collapse

ONE_POINTER =
[ :pointer ]
TWO_POINTERS =
[ :pointer, :pointer ]
THREE_POINTERS =
[ :pointer, :pointer, :pointer ]
FOUR_POINTERS =
[ :pointer, :pointer, :pointer, :pointer ]
FIVE_POINTERS =
[ :pointer, :pointer, :pointer, :pointer, :pointer ]

Class Method Summary collapse

Class Method Details

.cudd_function(name, signature, return_type = :pointer) ⇒ Object



12
13
14
# File 'lib/cudd-rb/wrapper.rb', line 12

def self.cudd_function(name, signature, return_type = :pointer)
  attach_function name, :"Cudd_#{name}", signature, return_type
end