Author: Jan Wedekind Copyright: 2010 License: GPL
This Ruby extension defines the class. allows you to allocate memory, using one can do pointer manipulation, and and provide reading Ruby strings from memory and writing Ruby strings to memory.
To install this Ruby extension, use the following command:
$ sudo gem install malloc
Alternatively you can build and install the Ruby extension from source as follows:
$ rake $ sudo rake install
Simply run Interactive Ruby:
You can load the Ruby extension like this:
require 'rubygems' require 'malloc' include Hornetseye
See documentation ofon how to use this Ruby extension.