aboutsummaryrefslogtreecommitdiff
path: root/src/fileapi.cpp
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2019-12-18 21:00:00 +0100
committerEven Rouault <even.rouault@spatialys.com>2019-12-18 21:00:00 +0100
commita70e477087ff05ab24a54b806d89b5e4b970ec0a (patch)
tree3cfc9e06209beed0f374116537f2e95d74dba6dc /src/fileapi.cpp
parentf36d2374268608d276da45c96a7b4792ab8ffdb5 (diff)
downloadPROJ-a70e477087ff05ab24a54b806d89b5e4b970ec0a.tar.gz
PROJ-a70e477087ff05ab24a54b806d89b5e4b970ec0a.zip
Rename PJ_CONTEXT::fileapi member as fileapi_legacy
Diffstat (limited to 'src/fileapi.cpp')
-rw-r--r--src/fileapi.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/fileapi.cpp b/src/fileapi.cpp
index 70c7b5de..f39d94bb 100644
--- a/src/fileapi.cpp
+++ b/src/fileapi.cpp
@@ -141,7 +141,7 @@ static void stdio_fclose(PAFile file)
PAFile pj_ctx_fopen(projCtx ctx, const char *filename, const char *access)
{
- return ctx->fileapi->FOpen(ctx, filename, access);
+ return ctx->fileapi_legacy->FOpen(ctx, filename, access);
}
/************************************************************************/
@@ -149,7 +149,7 @@ PAFile pj_ctx_fopen(projCtx ctx, const char *filename, const char *access)
/************************************************************************/
size_t pj_ctx_fread(projCtx ctx, void *buffer, size_t size, size_t nmemb, PAFile file)
{
- return ctx->fileapi->FRead(buffer, size, nmemb, file);
+ return ctx->fileapi_legacy->FRead(buffer, size, nmemb, file);
}
/************************************************************************/
@@ -157,7 +157,7 @@ size_t pj_ctx_fread(projCtx ctx, void *buffer, size_t size, size_t nmemb, PAFile
/************************************************************************/
int pj_ctx_fseek(projCtx ctx, PAFile file, long offset, int whence)
{
- return ctx->fileapi->FSeek(file, offset, whence);
+ return ctx->fileapi_legacy->FSeek(file, offset, whence);
}
/************************************************************************/
@@ -165,7 +165,7 @@ int pj_ctx_fseek(projCtx ctx, PAFile file, long offset, int whence)
/************************************************************************/
long pj_ctx_ftell(projCtx ctx, PAFile file)
{
- return ctx->fileapi->FTell(file);
+ return ctx->fileapi_legacy->FTell(file);
}
/************************************************************************/
@@ -173,7 +173,7 @@ long pj_ctx_ftell(projCtx ctx, PAFile file)
/************************************************************************/
void pj_ctx_fclose(projCtx ctx, PAFile file)
{
- ctx->fileapi->FClose(file);
+ ctx->fileapi_legacy->FClose(file);
}
/************************************************************************/