home *** CD-ROM | disk | FTP | other *** search
/ PC User 2001 August / APC_Aug2001_CD2.iso / features / j2sdk / files / linux / j2sdklin.bin / jdk1.3.1 / include-old / wrap.h < prev   
Encoding:
C/C++ Source or Header  |  2001-05-06  |  570 b   |  26 lines

  1. /*
  2.  * @(#)wrap.h    1.14 00/02/02
  3.  *
  4.  * Copyright 1996-2000 Sun Microsystems, Inc. All Rights Reserved.
  5.  * 
  6.  * This software is the proprietary information of Sun Microsystems, Inc.  
  7.  * Use is subject to license terms.
  8.  * 
  9.  */
  10.  
  11. #ifndef _JAVASOFT_WRAP_H_
  12. #define _JAVASOFT_WRAP_H_
  13.  
  14. #include "native.h"
  15. #include "typecodes.h"
  16.  
  17. #define    T_BAD    T_XXUNUSEDXX1    /* 1 */
  18.  
  19. /*
  20.  * Routines to wrap and unwrap primitive Java types.
  21.  */
  22. extern HObject *    java_wrap(ExecEnv *, jvalue, unsigned char);
  23. extern unsigned char    java_unwrap(HObject *, jvalue *);
  24.  
  25. #endif /* !_JAVASOFT_WRAP_H_ */
  26.