Permalink
Browse files

typo fixed

  • Loading branch information...
1 parent fa95707 commit 666051113c0b2b7dce4e04a80f4ad8397745cd1c @ice799 committed Mar 22, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 ext/shlock.c
View
@@ -260,7 +260,7 @@ void Init_shlock() {
/* Shlock::Psem */
VALUE psem_class = rb_define_class_under(shared_lock_module, "Psem", rb_cObject);
- rb_define_singleton(psem_class, "new", rb_psem_new, 2);
+ rb_define_singleton_method(psem_class, "new", rb_psem_new, 2);
rb_define_method(psem_class, "lock", rb_psem_lock, 0);
rb_define_method(psem_class, "unlock", rb_psem_unlock, 0);
rb_define_method(psem_class, "destroy", rb_psem_destroy, 0);

0 comments on commit 6660511

Please sign in to comment.