aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--libgamma-facade.cc4
-rw-r--r--libgammamm.abin50438 -> 0 bytes
3 files changed, 4 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index f523fe1..2698287 100644
--- a/.gitignore
+++ b/.gitignore
@@ -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
deleted file mode 100644
index 9051f9b..0000000
--- a/libgammamm.a
+++ /dev/null
Binary files differ