home *** CD-ROM | disk | FTP | other *** search
/ BMUG PD-ROM 1995 Fall / PD-ROM F95.toast / Programming / Programming Utilities / ThreadLibrary 1.0 ƒ / Source / Libraries / regppc.h next >
Encoding:
C/C++ Source or Header  |  1995-05-04  |  497 b   |  17 lines  |  [TEXT/MPCC]

  1. /* See the file Distribution for distribution terms.
  2.     (c) Copyright 1994 Ari Halberstadt */
  3.  
  4. /*    Declarations for functions used to save and restore PPC registers.
  5.     These declarations must agree with the code in "regppc.s". */
  6.     
  7. #pragma once
  8. #ifndef THREAD_REGISTERS_PPC
  9. #define THREAD_REGISTERS_PPC
  10.  
  11. typedef long ThreadRegistersPPCType[63];
  12.  
  13. extern int ThreadRegistersPPCSave(long *registers);
  14. extern void ThreadRegistersPPCRestore(long *registers, int result);
  15.  
  16. #endif /* THREAD_REGISTERS_PPC */
  17.