home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c082_144 / 1.ddi / WINLBSRC.ZIP / SUBALLOC.CPP < prev    next >
Encoding:
C/C++ Source or Header  |  1992-06-10  |  713 b   |  32 lines

  1. /*------------------------------------------------------------------------
  2.  * filename - suballoc.cpp
  3.  *-----------------------------------------------------------------------*/
  4.  
  5. /*
  6.  *      C/C++ Run Time Library - Version 5.0
  7.  *
  8.  *      Copyright (c) 1991, 1992 by Borland International
  9.  *      All Rights Reserved.
  10.  *
  11.  */
  12.  
  13. #if !defined(__DLL__)
  14. struct far TSubAllocClientData
  15. {
  16.         void far *MemBlockPtr;
  17.         int MemBlockCount;
  18. };
  19.  
  20. extern "C"
  21. {
  22.         extern TSubAllocClientData far * far __GetSubAllocClientData();
  23. }
  24.  
  25. TSubAllocClientData SubAllocClientData;
  26.  
  27. TSubAllocClientData far * far __GetSubAllocClientData()
  28. {
  29.     return &SubAllocClientData;
  30. }
  31. #endif // !__DLL__
  32.