MCPcopy
hub / github.com/django/django / std_call

Function std_call

django/contrib/gis/gdal/libgdal.py:85–93  ·  view source on GitHub ↗

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

(func)

Source from the content-addressed store, hash-verified

83
84
85def std_call(func):
86 """
87 Return the correct STDCALL function for certain OSR routines on Win32
88 platforms.
89 """
90 if os.name == "nt":
91 return lwingdal[func]
92 else:
93 return lgdal[func]
94
95
96# #### Version-information functions. ####

Callers 4

srs.pyFile · 0.90
raster.pyFile · 0.90
libgdal.pyFile · 0.85
functionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected