aboutsummaryrefslogtreecommitdiff
path: root/scripts/create_c_api_projections.py
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2018-12-26 12:34:47 +0100
committerEven Rouault <even.rouault@spatialys.com>2018-12-30 17:37:56 +0100
commita2fd4206924fedc96c3fd12607fb61e84c4841c0 (patch)
tree23c39e6d29526ce7532ba8c97181640c74b6a12c /scripts/create_c_api_projections.py
parent53a81c447114ee34b744c01ae2656cce0f250a9c (diff)
downloadPROJ-a2fd4206924fedc96c3fd12607fb61e84c4841c0.tar.gz
PROJ-a2fd4206924fedc96c3fd12607fb61e84c4841c0.zip
Remove PJ_OBJ type since it is now merged into PJ
Diffstat (limited to 'scripts/create_c_api_projections.py')
-rwxr-xr-xscripts/create_c_api_projections.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/create_c_api_projections.py b/scripts/create_c_api_projections.py
index 897212ee..76b54e1e 100755
--- a/scripts/create_c_api_projections.py
+++ b/scripts/create_c_api_projections.py
@@ -122,7 +122,7 @@ for sectiondef in compounddef.iter('sectiondef'):
decl += " const char* linear_unit_name, double linear_unit_conv_factor"
decl += ")"
- header.write("PJ_OBJ PROJ_DLL *" + decl + ";\n\n")
+ header.write("PJ PROJ_DLL *" + decl + ";\n\n")
briefdescription = func.find('briefdescription/para').xpath("normalize-space()")
briefdescription = briefdescription.replace("Instanciate ", "Instanciate a ProjectedCRS with ")
@@ -136,7 +136,7 @@ for sectiondef in compounddef.iter('sectiondef'):
if has_angle:
cppfile.write(" * Angular parameters are expressed in (ang_unit_name, ang_unit_conv_factor).\n")
cppfile.write(" */\n")
- cppfile.write("PJ_OBJ* " + decl + "{\n");
+ cppfile.write("PJ* " + decl + "{\n");
cppfile.write(" SANITIZE_CTX(ctx);\n");
cppfile.write(" try {\n");
if has_linear: