class RbPlusPlus::Builders::GlobalFunctionNode

Expose a global function

Public Instance Methods

build() click to toggle source
# File lib/rbplusplus/builders/global_function.rb, line 7
def build
  add_child IncludeNode.new(self, "rice/global_function.hpp", :system)
  add_child IncludeNode.new(self, code.file)

  self.prefix = "Rice::"
  self.rice_method = "define_global_function"
end