Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

typo fixed

  • Loading branch information...
commit 666051113c0b2b7dce4e04a80f4ad8397745cd1c 1 parent fa95707
Joe Damato authored March 21, 2009

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  ext/shlock.c
2  ext/shlock.c
@@ -260,7 +260,7 @@ void Init_shlock() {
260 260
 
261 261
   /* Shlock::Psem */
262 262
   VALUE psem_class = rb_define_class_under(shared_lock_module, "Psem", rb_cObject);
263  
-  rb_define_singleton(psem_class, "new", rb_psem_new, 2);
  263
+  rb_define_singleton_method(psem_class, "new", rb_psem_new, 2);
264 264
   rb_define_method(psem_class, "lock", rb_psem_lock, 0);
265 265
   rb_define_method(psem_class, "unlock", rb_psem_unlock, 0);
266 266
   rb_define_method(psem_class, "destroy", rb_psem_destroy, 0);

0 notes on commit 6660511

Please sign in to comment.
Something went wrong with that request. Please try again.