Subject: [ruby-ffi] Re: ffi_lib and symbol/string usage? |
From: Wayne Meissner |
Date: 11/15/09 4:17 PM |
To: ruby-ffi@googlegroups.com |
2009/11/16 Jon <jon.forums@gmail.com>:
I've updated my examples on the wiki to use only String's, but am wondering if FFI core should be agnostic for the ffi_lib arg?
I have no preference, but is there really any style reason to use symbols over strings or vice-versa for this?Nope, other than just liking the way symbols look.
We do allow symbols on the attach_function line, so I guess from a consistency pov, we could allow them in ffi_lib. Add a issue in the bug tracker, so the idea doesn't get lost.
Probably as interesting as a discussion trying to get Windows developers to ditch their editor and move gVim.
Thats only because they should already be using emacs! :)