home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / snip9707.zip / STK_STR.H < prev    next >
C/C++ Source or Header  |  1997-07-05  |  859b  |  25 lines

  1. /* +++Date last modified: 05-Jul-1997 */
  2.  
  3. /* =======================================================================
  4.     STK_STR.h       Stack of Strings based on generic stack of Blobs.
  5.  
  6.                     A.Reitsma, Delft, The Netherlands.
  7.                     v0.10  94-07-02  Public Domain.
  8.  
  9.                     This module has no related .C file.
  10.                     Modules STK_BLOB and STACK are required.
  11. ___-------------------------------------------------------------------- */
  12.  
  13. #ifndef STK_STR_H
  14. #define STK_STR_H
  15.  
  16. #include <string.h>
  17. #include "stk_blob.h"
  18.  
  19. #define StackStringCreate()       StackBlobCreate()
  20. #define PushString(Stack,Str)     PushBlob( Stack, Str, strlen( Str ) +1 )
  21. #define PopString(Stack,Str)      PopBlob( Stack, Str )
  22.  
  23. #endif
  24. /* ==== STK_STR.c end ================================================= */
  25.