/********************************************************************************************************************************/ /* 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 $ARGDEF ***/ #ifndef __ARGDEF_LOADED #define __ARGDEF_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 /* */ /* ARG$ - The argument descriptors */ /* */ #define ARG$C_UNKNOWN 0 /* Unspecified or unknown */ #define ARG$C_VALUE 1 /* Passed by value */ #define ARG$C_REF 2 /* Passed by reference */ #define ARG$C_DESC 3 /* Passed by descriptor */ #define ARG$K_SIZE 2 #define ARG$C_SIZE 2 #ifdef __NEW_STARLET typedef struct _argdef { __union { unsigned char arg$b_valctl; /*Validation control byte */ __struct { unsigned arg$v_passmech : 2; /*Passing mechanism */ unsigned arg$v_fill_18_ : 6; } arg$r_valctl_bits; /* Passing mechanisms */ } arg$r_valctl_overlay; unsigned char arg$b_bytecnt; /*Remaining byte count */ } ARGDEF; #if !defined(__VAXC) #define arg$b_valctl arg$r_valctl_overlay.arg$b_valctl #define arg$v_passmech arg$r_valctl_overlay.arg$r_valctl_bits.arg$v_passmech #endif /* #if !defined(__VAXC) */ #else /* __OLD_STARLET */ struct argdef { __union { unsigned char arg$b_valctl; /*Validation control byte */ __struct { unsigned arg$v_passmech : 2; /*Passing mechanism */ unsigned arg$v_fill_18_ : 6; } arg$r_valctl_bits; /* Passing mechanisms */ } arg$r_valctl_overlay; unsigned char arg$b_bytecnt; /*Remaining byte count */ } ; #if !defined(__VAXC) #define arg$b_valctl arg$r_valctl_overlay.arg$b_valctl #define arg$v_passmech arg$r_valctl_overlay.arg$r_valctl_bits.arg$v_passmech #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 /* __ARGDEF_LOADED */