RubyGems Navigation menu

RubyInline 3.14.3

Inline allows you to write foreign code within your ruby code. It automatically determines if the code in question has changed and builds it only when necessary. The extensions are then automatically loaded into the class/module that defines it.

You can even write extra builders that will allow you to write inlined code in any language. Use Inline::C as a template and look at Module#inline for the required API.

Features/Problems:

  • Quick and easy inlining of your C or C++ code embedded in your ruby script.

  • Extendable to work with other languages.

  • Automatic conversion between ruby and C basic types

    • char, unsigned, unsigned int, char *, int, long, unsigned long

  • inline_c_raw exists for when the automatic conversion isn’t sufficient.

  • Only recompiles if the inlined code has changed.

  • Pretends to be secure.

  • Only requires standard ruby libraries, nothing extra to download.

Gemfile:
=

安裝:
=

版本列表:

  1. 3.14.3 February 03, 2026 (31.5 KB)
  2. 3.14.2 March 12, 2025 (30.5 KB)
  3. 3.14.1 June 23, 2024 (30.5 KB)
  4. 3.14.0 June 28, 2023 (30.5 KB)
  5. 3.13.0 February 01, 2023 (30.5 KB)
顯示所有版本(共 44)

Runtime 相依性套件 (1):

ZenTest ~> 4.3

Development 相依性套件 (2):

hoe ~> 4.6
rdoc >= 6.0, < 8

必填:

A POSIX environment and a compiler for your language.

擁有者:

推送者:

作者:

  • Ryan Davis

SHA 256 總和檢查碼:

=

簽名有效期:

January 07, 2026 - January 07, 2027

總下載次數 8,725,510

這個版本 2,499

版本发布:

授權:

MIT

Ruby 版本需求: >= 0

相關連結: