module Crabstone::Binding

@private

Public Class Methods

safe_attach(*args) click to toggle source

Wrap to prevent function not found in elder Capstone.

# File lib/crabstone/binding.rb, line 43
def self.safe_attach(*args)
  attach_function(*args)
rescue FFI::NotFoundError
end