diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2019-08-22 09:52:45 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-08-22 09:52:45 +0200 |
| commit | b7f829ce8f7c9fce2934b3981493a5d3338143b9 (patch) | |
| tree | c50d03ac81b1e10e0d4356234757126a708e9ac1 /src/proj.h | |
| parent | 2c9c015a6529548f5a5d448c78bc9b565d751590 (diff) | |
| parent | 15d6475b8caeb169fd2c060076738db75fc527b3 (diff) | |
| download | PROJ-b7f829ce8f7c9fce2934b3981493a5d3338143b9.tar.gz PROJ-b7f829ce8f7c9fce2934b3981493a5d3338143b9.zip | |
Merge pull request #1566 from rouault/add_proj_context_set_autoclose_database
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, |
