Class | Inline::C |
In: |
lib/inline.rb
|
Parent: | Object |
MAGIC_ARITY_THRESHOLD | = | 15 |
MAGIC_ARITY | = | -1 |
mod | [R] | |
rb_file | [R] |
Adds compiler options to the compiler command line. No preprocessing is done, so you must have all your dashes and everything.
Adds linker flags to the link command line. No preprocessing is done, so you must have all your dashes and everything.
Adds a C function to the source, including performing automatic type conversion to arguments and the return value. The Ruby method name can be overridden by providing method_name. Unknown type conversions can be extended by using add_type_converter.
Adds a raw C function to the source. This version does not perform any type conversion and must conform to the ruby/C coding conventions. The Ruby method name can be overridden by providing method_name.
Adds an include to the top of the file. Don‘t forget to use quotes or angle brackets.
Specifies that the the ruby.h header should be included after custom header(s) instead of before them.