Skip to main content

std_call

Return the correct STDCALL function for certain OSR routines on Win32 platforms.

def std_call(
func: string
) - > callable

Return the correct STDCALL function for certain OSR routines on Win32 platforms.

Parameters

NameTypeDescription
funcstringThe name of the OSR routine to retrieve from the GDAL library bindings

Returns

TypeDescription
callableThe platform-specific function implementation retrieved from either the lwingdal or lgdal library mapping