home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / include / Xm / VaSimpleP.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-06-30  |  1.6 KB  |  67 lines

  1. /* 
  2.  * (c) Copyright 1989, 1990, 1991, 1992 OPEN SOFTWARE FOUNDATION, INC. 
  3.  * ALL RIGHTS RESERVED 
  4. */ 
  5. /* 
  6.  * Motif Release 1.2
  7. */ 
  8. /*   $RCSfile: VaSimpleP.h,v $ $Revision: 10.1 $ $Date: 1994/02/03 15:54:27 $ */
  9. /*
  10. *  (c) Copyright 1987, 1988, 1989, 1990, 1991, 1992 HEWLETT-PACKARD COMPANY */
  11. #ifndef _XmVaSimpleP_h
  12. #define _XmVaSimpleP_h
  13.  
  14. #include <Xm/XmP.h>
  15.  
  16. #ifdef _NO_PROTO
  17. # include <varargs.h>
  18. # define Va_start(a,b) va_start(a)
  19. #else
  20. # include <stdarg.h>
  21. # define Va_start(a,b) va_start(a,b)
  22. #endif
  23.  
  24.  
  25. #ifdef __cplusplus
  26. extern "C" {
  27. #endif
  28.  
  29. typedef struct _XtTypedArg {
  30.     String      name;
  31.     String      type;
  32.     XtArgVal    value;
  33.     int         size;
  34. } XtTypedArg;
  35.  
  36. typedef struct _XtTypedArg* XtTypedArgList;
  37.  
  38. #define StringToName(string) XrmStringToName(string)
  39.  
  40.  
  41. /********  Private Function Declarations  ********/
  42. #ifdef _NO_PROTO
  43. extern void _XmCountVaList() ;
  44. extern void _XmVaToTypedArgList() ;
  45. #else
  46. extern void _XmCountVaList( 
  47.                         va_list var,
  48.                         int *button_count,
  49.                         int *args_count,
  50.                         int *typed_count,
  51.                         int *total_count) ;
  52. extern void _XmVaToTypedArgList( 
  53.                         va_list var,
  54.                         int max_count,
  55.                         XtTypedArgList *args_return,
  56.                         Cardinal *num_args_return) ;
  57. #endif /* _NO_PROTO */
  58. /********  End Private Function Declarations  ********/
  59.  
  60.  
  61. #ifdef __cplusplus
  62. }  /* Close scope of 'extern "C"' declaration which encloses file. */
  63. #endif
  64.  
  65. #endif /* _XmVaSimpleP_h */
  66. /* DON'T ADD ANYTHING AFTER THIS #endif */
  67.