Skip to content

Commit

Permalink
Merge pull request #28 from khrushjing/feat_cpl_config
Browse files Browse the repository at this point in the history
feat(config):  add cpl config function
  • Loading branch information
bugra9 authored Mar 10, 2022
2 parents f81370e + e046b11 commit a41f9d3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/allCFunctions.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ export function initCFunctions() {
GDALFunctions.CPLGetLastErrorNo = Module.cwrap('CPLGetLastErrorNo', 'number', []);
GDALFunctions.CPLGetLastErrorMsg = Module.cwrap('CPLGetLastErrorMsg', 'string', []);
GDALFunctions.CPLGetLastErrorType = Module.cwrap('CPLGetLastErrorType', 'number', []);
GDALFunctions.CPLSetConfigOption = Module.cwrap('CPLSetConfigOption', null, ['string', 'string']);
GDALFunctions.CPLSetThreadLocalConfigOption = Module.cwrap('CPLSetThreadLocalConfigOption', null, ['string', 'string']);
GDALFunctions.GDALGetRasterCount = Module.cwrap('GDALGetRasterCount', 'number', ['number']);
GDALFunctions.GDALGetRasterXSize = Module.cwrap('GDALGetRasterXSize', 'number', ['number']);
GDALFunctions.GDALGetRasterYSize = Module.cwrap('GDALGetRasterYSize', 'number', ['number']);
Expand Down

0 comments on commit a41f9d3

Please sign in to comment.