diff options
author | Mattias Andrée <maandree@kth.se> | 2024-07-17 22:21:13 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2024-07-17 22:21:13 +0200 |
commit | 4565494854aca1530bea4c0e3d390d22e6cc1460 (patch) | |
tree | afe881c14f3bb452d8983f5b1e491148dbd56845 | |
parent | Update for libgamma 0.7.4 (diff) | |
download | libgammamm-1.0.4.tar.gz libgammamm-1.0.4.tar.bz2 libgammamm-1.0.4.tar.xz |
Fix usage of new API (also remove accidentally committed .a file)1.0.4
Signed-off-by: Mattias Andrée <maandree@kth.se>
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | libgamma-facade.cc | 4 | ||||
-rw-r--r-- | libgammamm.a | bin | 50438 -> 0 bytes |
3 files changed, 4 insertions, 1 deletions
@@ -12,4 +12,5 @@ *.so.* *.dll *.dylib +*.a /test diff --git a/libgamma-facade.cc b/libgamma-facade.cc index c68400a..9f2e457 100644 --- a/libgamma-facade.cc +++ b/libgamma-facade.cc @@ -64,7 +64,9 @@ namespace libgamma method_capabilities(MethodCapabilities *output, int method) { struct libgamma_method_capabilities caps; - libgamma_method_capabilities(&caps, sizeof(caps), method); + int r = libgamma_method_capabilities(&caps, sizeof(caps), method); + if (r < 0) + throw create_error(r); *output = MethodCapabilities(&caps); } diff --git a/libgammamm.a b/libgammamm.a Binary files differdeleted file mode 100644 index 9051f9b..0000000 --- a/libgammamm.a +++ /dev/null |