[vala-extra-vapis: 2/4] accept improvements from arteymix
- From: Guillaume Poirier-Morency <poirigui src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala-extra-vapis: 2/4] accept improvements from arteymix
- Date: Sun, 11 Jun 2017 19:09:26 +0000 (UTC)
commit 48e9c30cd0cd808803a356b31eec45f9f9b1293b
Author: Andreas Strasser <andreas-strasser mail de>
Date: Sun Jun 4 11:52:59 2017 +0200
accept improvements from arteymix
shapelib.vapi | 16 +++++++---------
1 files changed, 7 insertions(+), 9 deletions(-)
---
diff --git a/shapelib.vapi b/shapelib.vapi
index 910539c..7bd3f03 100644
--- a/shapelib.vapi
+++ b/shapelib.vapi
@@ -11,13 +11,13 @@
[CCode (cprefix = "", lower_case_cprefix = "", cheader_filename = "shapefil.h")]
namespace ShapeFil {
- [CCode (cprefix = "", has_type_id = "0")]
+ [CCode (cprefix = "FT", has_type_id = false)]
public enum DBFFieldType {
- FTString,
- FTInteger,
- FTDouble,
- FTLogical,
- FTInvalid
+ String,
+ Integer,
+ Double,
+ Logical,
+ Invalid
}
[Compact]
@@ -132,10 +132,8 @@ namespace ShapeFil {
public int panRecOffset;
public int panRecSize;
[CCode (array_length = false)]
- [NoArrayLength]
public unowned double[] adBoundsMin;
[CCode (array_length = false)]
- [NoArrayLength]
public unowned double[] adBoundsMax;
public int bUpdated;
public uint pabyRec;
@@ -148,7 +146,7 @@ namespace ShapeFil {
[CCode (cname = "SHPCreateObject")]
public SHPObject (int nSHPType, int nShapeId, int nParts, int panPartStart, int panPartType, int
nVertices, double padfX, double padfY, double padfZ, double padfM);
[CCode (cname = "SHPCreateSimpleObject")]
- public SHPObject.Simple (int nSHPType, int nVertices, double padfX, double padfY, double padfZ);
+ public SHPObject.simple (int nSHPType, int nVertices, double padfX, double padfY, double padfZ);
public int nSHPType;
public int nShapeId;
public int nParts;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]