view os2/dwcompat.def @ 1582:728778634933

Performed a more thorough audit of functions on Mac that require local pools. Added macros to these functions to hopefully reduce or eliminate leaks in apps that are threaded and perform GUI functions on secondary threads. _dw_pool_drain() is still available to drain the main thread pool, but enclosing the functions in these macros should reduce the objects accumulating in the thread's main pool.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Thu, 26 Jan 2012 05:26:40 +0000
parents 32a5be18e187
children 6e26c9ead2fe
line wrap: on
line source

LIBRARY DWCOMPAT INITINSTANCE TERMINSTANCE

PROTMODE

DESCRIPTION 'Dynamic Windows Compatibility Module for OS/2'

CODE LOADONCALL
DATA NONSHARED LOADONCALL

EXPORTS
  makedir            @20
  vargs              @21
  setfileinfo        @22
  drivefree          @23
  isdrive            @24
  drivesize          @25
  getfsname          @26

  _opendir           @30
  _openxdir          @31
  _readdir           @32
  _seekdir           @33
  _telldir           @34
  _closedir          @35

  fsopen             @40
  fsclose            @41
  fsgets             @42
  fsseek             @43

  locale_init        @50
  locale_string      @51
  
  nice_strformat     @60
  initdir            @61