about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2011-03-10 03:27:58 +0000
committerEric Wong <normalperson@yhbt.net>2011-03-10 03:27:58 +0000
commit7142fa6bd85fd5a256049f158b6c29399eee7c7c (patch)
tree2bc39c6db96a4bccdda02889c116e31f2c431821
parent02bba7d2200cb4225e50dba51d8bcc5cc6e6d677 (diff)
downloadsleepy_penguin-7142fa6bd85fd5a256049f158b6c29399eee7c7c.tar.gz
"in" is a keyword in Ruby and unusable as a local variable
-rw-r--r--ext/sleepy_penguin/inotify.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/sleepy_penguin/inotify.c b/ext/sleepy_penguin/inotify.c
index 9ba4245..f597fe9 100644
--- a/ext/sleepy_penguin/inotify.c
+++ b/ext/sleepy_penguin/inotify.c
@@ -42,7 +42,7 @@ static VALUE s_new(int argc, VALUE *argv, VALUE klass)
 
 /*
  * call-seq:
- *        in.add_watch(path, flags) -> Integer
+ *        ino.add_watch(path, flags) -> Integer
  *
  * Adds a watch on an object specified by its +mask+, returns an unsigned
  * Integer watch descriptor.  +flags+ may be a mask of the following
@@ -100,7 +100,7 @@ static VALUE add_watch(VALUE self, VALUE path, VALUE vmask)
 
 /*
  * call-seq:
- *        in.rm_watch(watch_descriptor) -> 0
+ *        ino.rm_watch(watch_descriptor) -> 0
  *
  * Removes a watch based on a watch descriptor Integer.  The watch
  * descriptor is a return value given by Inotify#add_watch
@@ -149,7 +149,7 @@ static VALUE inread(void *ptr)
 
 /*
  * call-seq:
- *        in.take([nonblock]) -> Inotify::Event or nil
+ *        ino.take([nonblock]) -> Inotify::Event or nil
  *
  * Returns the next Inotify::Event processed.  May return +nil+ if +nonblock+
  * is +true+.