Skip to content

Commit

Permalink
Hide ffi layer from public docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
jvoorhis committed Apr 24, 2011
1 parent 825cfa2 commit 7f8766a
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/llvm.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
require 'ffi'

module LLVM
# @private
module C
extend ::FFI::Library

Expand Down
1 change: 1 addition & 0 deletions lib/llvm/analysis.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
require 'llvm/target'

module LLVM
# @private
module C
enum :verifier_failure_action, [
:abort_process,
Expand Down
1 change: 1 addition & 0 deletions lib/llvm/core.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
require 'llvm'

module LLVM
# @private
module C
enum :attribute, [
:ext, 1 << 0,
Expand Down
1 change: 1 addition & 0 deletions lib/llvm/execution_engine.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
require 'llvm/analysis'

module LLVM
# @private
module C
# Generic values
attach_function :LLVMCreateGenericValueOfInt, [:pointer, :long_long, :int], :pointer
Expand Down
1 change: 1 addition & 0 deletions lib/llvm/target.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
require 'llvm/core'

module LLVM
# @private
module C
attach_function :LLVMAddTargetData, [:pointer, :pointer], :void
end
Expand Down
1 change: 1 addition & 0 deletions lib/llvm/transforms/ipo.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
require 'llvm/core'

module LLVM
# @private
module C
attach_function :LLVMAddGlobalDCEPass, [:pointer], :void
end
Expand Down
1 change: 1 addition & 0 deletions lib/llvm/transforms/scalar.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
require 'llvm/core'

module LLVM
# @private
module C
attach_function :LLVMAddAggressiveDCEPass, [:pointer], :void
attach_function :LLVMAddCFGSimplificationPass, [:pointer], :void
Expand Down

0 comments on commit 7f8766a

Please sign in to comment.