/********************************************************************************************************************************/ /* Created: 9-Mar-2021 22:28:03 by OpenVMS SDL EV3-3 */ /* Source: 09-MAR-2021 22:28:01 $1$DGA8085:[STARLET_H.SRC]OBJFMT.SDI;1 */ /********************************************************************************************************************************/ /*** MODULE $SRFDEF ***/ #ifndef __SRFDEF_LOADED #define __SRFDEF_LOADED 1 #pragma __nostandard /* This file uses non-ANSI-Standard features */ #pragma __member_alignment __save #pragma __nomember_alignment #ifdef __INITIAL_POINTER_SIZE /* Defined whenever ptr size pragmas supported */ #pragma __required_pointer_size __save /* Save the previously-defined required ptr size */ #pragma __required_pointer_size __short /* And set ptr size default to 32-bit pointers */ #endif #ifdef __cplusplus extern "C" { #define __unknown_params ... #define __optional_params ... #else #define __unknown_params #define __optional_params ... #endif #ifndef __struct #if !defined(__VAXC) #define __struct struct #else #define __struct variant_struct #endif #endif #ifndef __union #if !defined(__VAXC) #define __union union #else #define __union variant_union #endif #endif /* */ /* Symbol reference (SYM$M_DEF in GSY$W_FLAGS is 0) */ /* */ #define SRF$K_NAME 5 #define SRF$C_NAME 5 #ifdef __NEW_STARLET typedef struct _srfdef { __union { unsigned char srf$b_gsdtyp; /*Maps over GSY$B_GSDTYP */ __struct { char srfdef$$_fill_1; } srf$r_gsdtyp_fields; } srf$r_gsdtyp_overlay; unsigned char srf$b_datyp; /*Maps over GSY$B_DATYP */ unsigned short int srf$w_flags; /*Maps over GSY$W_FLAGS */ unsigned char srf$b_namlng; /*Length of symbol name */ char srf$t_name [31]; /*Symbol name */ } SRFDEF; #if !defined(__VAXC) #define srf$b_gsdtyp srf$r_gsdtyp_overlay.srf$b_gsdtyp #endif /* #if !defined(__VAXC) */ #else /* __OLD_STARLET */ struct srfdef { __union { unsigned char srf$b_gsdtyp; /*Maps over GSY$B_GSDTYP */ __struct { char srfdef$$_fill_1; } srf$r_gsdtyp_fields; } srf$r_gsdtyp_overlay; unsigned char srf$b_datyp; /*Maps over GSY$B_DATYP */ unsigned short int srf$w_flags; /*Maps over GSY$W_FLAGS */ unsigned char srf$b_namlng; /*Length of symbol name */ char srf$t_name [31]; /*Symbol name */ } ; #if !defined(__VAXC) #define srf$b_gsdtyp srf$r_gsdtyp_overlay.srf$b_gsdtyp #endif /* #if !defined(__VAXC) */ #endif /* #ifdef __NEW_STARLET */ #pragma __member_alignment __restore #ifdef __INITIAL_POINTER_SIZE /* Defined whenever ptr size pragmas supported */ #pragma __required_pointer_size __restore /* Restore the previously-defined required ptr size */ #endif #ifdef __cplusplus } #endif #pragma __standard #endif /* __SRFDEF_LOADED */