aboutsummaryrefslogtreecommitdiff
path: root/src/units.cpp
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2020-03-13 11:24:41 +0100
committerEven Rouault <even.rouault@spatialys.com>2020-03-13 11:45:47 +0100
commit2247841879faebe007ccade45d04027361d5d26c (patch)
tree740a420dc2d28ce5ec567bf7983c1ce9ce99145a /src/units.cpp
parent35425763e70b70f7efc9a5c9616695369609553f (diff)
downloadPROJ-2247841879faebe007ccade45d04027361d5d26c.tar.gz
PROJ-2247841879faebe007ccade45d04027361d5d26c.zip
Tag proj_list_units() as deprecated
Diffstat (limited to 'src/units.cpp')
-rw-r--r--src/units.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/units.cpp b/src/units.cpp
index 34a71db1..36f2d4c7 100644
--- a/src/units.cpp
+++ b/src/units.cpp
@@ -36,6 +36,12 @@ pj_units[] = {
{nullptr, nullptr, nullptr, 0.0}
};
+// For internal use
+const PJ_UNITS *pj_list_linear_units()
+{
+ return pj_units;
+}
+
const PJ_UNITS *proj_list_units()
{
return pj_units;