Commit Graph

12 Commits

Author SHA1 Message Date
51b2cac594 remove use of deprecated item 'try': use the ? operator instead
Signed-off-by: Nikola Pajkovsky <nikola.pajkovsky@livesporttv.cz>
2020-05-21 12:11:15 +02:00
a277b7cfe7 feat: MagickFxImage bindning
New macro to create a new wand from another wand.
2020-04-21 08:32:18 +02:00
f286c631b9 Format code using 'cargo fmt' 2019-08-17 21:48:01 +05:30
122f144ecb Made exception related functions public
cargo test passes
2019-04-17 20:15:48 -07:00
bd34f145a2 Ran cargo fmt on the code base, looks better
cargo test passes
2018-10-06 15:38:33 -07:00
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