[vala-extra-vapis] libcolumbus: fixing ColErrorValues bidings



commit a86432b870507e5cd63a7db404629f62423c8742
Author: grindhold <grindhold gmx net>
Date:   Wed Mar 29 18:04:58 2017 +0200

    libcolumbus: fixing ColErrorValues bidings
    
    tried to pass itself as out-parameter. thus i had to declare it
    a simple type, so it will return by value. also had to remove
    "struct" from cname attribute in order to fix initialization.

 libcolumbus.vapi |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libcolumbus.vapi b/libcolumbus.vapi
index dd8ae76..5fa41db 100644
--- a/libcolumbus.vapi
+++ b/libcolumbus.vapi
@@ -183,7 +183,7 @@ namespace Columbus {
         public double get_weight (Word field);
     }
 
-    [Compact, CCode(cname="struct ColErrorValues")]
+    [SimpleType, Compact, CCode(cname="ColErrorValues")]
     /**
      * This is your interface to adjust the error-checking-algorithms of
      * a {@link Columbus.Matcher}.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]