Commit Graph

7 Commits

Author SHA1 Message Date
8a4fced836 Update to latest release of bindgen
Note that all of the enum definitions changed (again?), and now they are
flattened into the 'bindings' namespace. This breaks the API in a way that
is relatively easy to fix, albeit annoying. Attempts to change the enum
generation using default_enum_style() resulted in endless compiler errors.

cargo test passes
2018-10-06 15:37:41 -07:00
07dd10f9cb Fix memory management in string_get! 2018-03-29 11:12:09 +02:00
f2b153c987 add color-related getters and mutations 2018-01-03 17:04:45 +07:00
7abde0e7c6 resolve initial compilation issues 2017-08-19 16:35:58 +07:00
e7054d3e35 Use the rust-bindgen crate properly
Using the changes from @gadomski along with some additional work, to get the
generated bindings working again. Works on macOS and FreeBSD 11. A couple of
hacks are needed for FreeBSD, but nothing too serious.

Changed to use the libc prefix, and changed to use the generated enums.

Fixes #22, #15, and #14

cargo test passes
2017-04-08 16:03:58 -07:00
2c94dab05a Add license header to contributed files 2016-08-14 18:46:03 -07:00
9e2285a4aa add drawing and pixel wands; add some methods to MagickWand 2016-05-11 22:12:42 +03:00