diff options
author | Wayne Meissner <wmeissner@gmail.com> | 2009-11-03 07:40:36 +1000 |
---|---|---|
committer | Wayne Meissner <wmeissner@gmail.com> | 2009-11-06 05:50:53 +1000 |
commit | 82da2b93f3b6c63f6e14cdadcb83f58594683a63 (patch) | |
tree | 7fd0bb2a5e268fa788d4fb6862e9f04770c36e2c | |
parent | 6da5c028d7835af47c7ae69998e53a8adb0ce5cd (diff) | |
download | ffi-82da2b93f3b6c63f6e14cdadcb83f58594683a63.tar.gz |
Add a comment to ffi/buffer.rb, and remove the require 'ffi/buffer' from ffi.rb. Reported by Bryan Kearney <bkearney@redhat.com>
-rw-r--r-- | lib/ffi/buffer.rb | 4 | ||||
-rw-r--r-- | lib/ffi/ffi.rb | 1 |
2 files changed, 4 insertions, 1 deletions
diff --git a/lib/ffi/buffer.rb b/lib/ffi/buffer.rb index e69de29..449e45b 100644 --- a/lib/ffi/buffer.rb +++ b/lib/ffi/buffer.rb @@ -0,0 +1,4 @@ +# +# All the code from this file is now implemented in C. This file remains +# to satisfy any leftover require 'ffi/buffer' in user code +# diff --git a/lib/ffi/ffi.rb b/lib/ffi/ffi.rb index 56d7e05..7a6e2ce 100644 --- a/lib/ffi/ffi.rb +++ b/lib/ffi/ffi.rb @@ -44,7 +44,6 @@ require 'ffi/types' require 'ffi/library' require 'ffi/errno' require 'ffi/memorypointer' -require 'ffi/buffer' require 'ffi/struct' require 'ffi/union' require 'ffi/managedstruct' |