Skip to content

Commit

Permalink
Using rb_eval_string to load Ruby extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
wedesoft committed Jun 24, 2011
1 parent da5f291 commit 695ecb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/init.cc
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ extern "C" {


void Init_hornetseye_alsa(void) void Init_hornetseye_alsa(void)
{ {
rb_require( "multiarray" ); rb_eval_string( "require 'multiarray'" );
VALUE rbHornetseye = rb_define_module( "Hornetseye" ); VALUE rbHornetseye = rb_define_module( "Hornetseye" );
AlsaOutput::registerRubyClass( rbHornetseye ); AlsaOutput::registerRubyClass( rbHornetseye );
AlsaInput::registerRubyClass( rbHornetseye ); AlsaInput::registerRubyClass( rbHornetseye );
Expand Down

0 comments on commit 695ecb8

Please sign in to comment.