-
Recent Posts
Recent Comments
- James on Migrating big applications from Rails 2 to Rails 3
- David on The Ruby C API – Basics
- 各种MQ比较-老娘舅 on A quick message queue benchmark: ActiveMQ, RabbitMQ, HornetQ, QPID, Apollo…
- Chris on A quick message queue benchmark: ActiveMQ, RabbitMQ, HornetQ, QPID, Apollo…
- Andy on How to read one non-blocking key press in Ruby
Archives
Categories
Meta
Tag Archives: rb_ary_push
The Ruby C API – Basics
In my 2 previous posts, we saw how to write C extensions, and how to package them. Now time has come to see a little bit of the Ruby C API. This post will deal with the basics, next ones … Continue reading
C, Howto, Ruby
api, C, C extension, DBL2NUM, FIX2INT, INT2FIX, NUM2DBL, RARRAY_LEN, rb_ary_entry, rb_ary_new, rb_ary_push, rb_class_new_instance, rb_const_get, rb_define_class, rb_define_method, rb_define_module, rb_funcall, rb_hash_aref, rb_hash_aset, rb_hash_new, rb_intern, rb_str_new, RSTRING_LEN, RSTRING_PTR, ruby