home *** CD-ROM | disk | FTP | other *** search
/ The CDPD Public Domain Collection for CDTV 3 / CDPDIII.bin / pd / programming / gnusmalltalk / mstsysdep.h < prev    next >
C/C++ Source or Header  |  1992-02-15  |  2KB  |  55 lines

  1. /***********************************************************************
  2.  *
  3.  *    System specific module declarations
  4.  *
  5.  ***********************************************************************/
  6.  
  7. /***********************************************************************
  8.  *
  9.  * Copyright (C) 1990, 1991, 1992 Free Software Foundation, Inc.
  10.  * Written by Steve Byrne.
  11.  *
  12.  * This file is part of GNU Smalltalk.
  13.  *
  14.  * GNU Smalltalk is free software; you can redistribute it and/or modify it
  15.  * under the terms of the GNU General Public License as published by the Free
  16.  * Software Foundation; either version 1, or (at your option) any later 
  17.  * version.
  18.  * 
  19.  * GNU Smalltalk is distributed in the hope that it will be useful, but WITHOUT
  20.  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 
  21.  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
  22.  * more details.
  23.  * 
  24.  * You should have received a copy of the GNU General Public License along with
  25.  * GNU Smalltalk; see the file COPYING.  If not, write to the Free Software
  26.  * Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  
  27.  *
  28.  ***********************************************************************/
  29.  
  30.  
  31. /*
  32.  *    Change Log
  33.  * ============================================================================
  34.  * Author      Date       Change 
  35.  * sbyrne    16 May 90      Created.
  36.  *
  37.  */
  38.  
  39. #ifndef __MSTSYSDEP__
  40. #define __MSTSYSDEP__
  41.  
  42.  
  43. #ifndef INTERRUPT_STATE_TYPE
  44. #define INTERRUPT_STATE_TYPE    int
  45. #endif
  46.  
  47. typedef INTERRUPT_STATE_TYPE    IntState;
  48.  
  49. extern IntState        disableInterrupts();
  50. extern void        enableInterrupts(), signalAfter();
  51. extern unsigned long    getMilliTime(), getTime();
  52. extern char        *getFullFileName(), *getCurDirName();
  53.  
  54. #endif /* __MSTSYSDEP__ */
  55.