Closed beatgammit closed 10 years ago
I added in a fix for the latest nightly. If you'd prefer for it to be on a separate PR, let me know and I'll separate them.
I added in a minor change to the allow attribute to cut down on warnings.
The latest commit does bring up a question though: should the bindings match the lua bindings in terms of casing, or should it follow rust style?
Sorry I haven't gotten to this yet. Been very busy. I'll try to take a look soon.
As for name style, I've been trying to match the existing Lua bindings as much as I can, for familiarity and ease in porting. If you're reading documentation on the Lua C APIs, it should be easy to figure out what the equivalent Rust API is.
Sorry I haven't gotten to this yet. Been very busy. I'll try to take a look soon.
That's fine, I understand. If you like, I can move the commits that aren't directly related to a separate PR since they just fix a compile error and hide some warnings.
I broke this up into smaller pieces, so this PR now only makes changes to support building with cargo.
See #7 for the changes that fix the tests.
Closing in favor of #9.
This works for me on Linux, but I haven't tested on any other platform.