def std_call(func):
 if (os.name == 'nt'):
  return lwingdal[func]
 else:
  return lgdal[func]

def std_call ( func ) : if ( os . name == 'nt' ) : return lwingdal [ func ] else : return lgdal [ func ]
returns the correct stdcall function for certain osr routines on win32 platforms .