diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2019-08-19 20:57:07 +0200 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2019-08-20 13:26:54 +0200 |
| commit | 15d6475b8caeb169fd2c060076738db75fc527b3 (patch) | |
| tree | c50d03ac81b1e10e0d4356234757126a708e9ac1 /src/proj.h | |
| parent | 2c9c015a6529548f5a5d448c78bc9b565d751590 (diff) | |
| download | PROJ-15d6475b8caeb169fd2c060076738db75fc527b3.tar.gz PROJ-15d6475b8caeb169fd2c060076738db75fc527b3.zip | |
C API: add proj_context_set_autoclose_database() to automatically close database (fixes #1565)
Diffstat (limited to 'src/proj.h')
| -rw-r--r-- | src/proj.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -755,6 +755,9 @@ typedef struct PJ_OBJ_LIST PJ_OBJ_LIST; void PROJ_DLL proj_string_list_destroy(PROJ_STRING_LIST list); +void PROJ_DLL proj_context_set_autoclose_database(PJ_CONTEXT *ctx, + int autoclose); + int PROJ_DLL proj_context_set_database_path(PJ_CONTEXT *ctx, const char *dbPath, const char *const *auxDbPaths, |
