/********************************************************************************************************************************/ /* Created: 9-Mar-2021 22:28:06 by OpenVMS SDL EV3-3 */ /* Source: 09-MAR-2021 22:28:01 $1$DGA8085:[STARLET_H.SRC]STARDEFQZ.SDI;1 */ /********************************************************************************************************************************/ /*** MODULE $TTCDEF ***/ #ifndef __TTCDEF_LOADED #define __TTCDEF_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 #define TTC$M_RESERVED 0xFF #define TTC$M_KANA 0x100 #define TTC$M_KANJI 0x200 #define TTC$M_HANZI 0x400 #define TTC$M_HANGUL 0x800 #define TTC$M_HANYU 0x1000 #define TTC$M_THAI 0x2000 #ifdef __NEW_STARLET typedef union _ttcdef { __struct { unsigned ttc$v_reserved : 8; /* First byte is reserved */ unsigned ttc$v_kana : 1; /* Katakana */ unsigned ttc$v_kanji : 1; /* Kanji */ unsigned ttc$v_hanzi : 1; /* Hanzi */ unsigned ttc$v_hangul : 1; /* Hangul */ unsigned ttc$v_hanyu : 1; /* Hanyu */ unsigned ttc$v_thai : 1; /* Thai */ unsigned ttc$v_fill_45_ : 2; } ttc$r_ttcdef_bits; } TTCDEF; #if !defined(__VAXC) #define ttc$v_reserved ttc$r_ttcdef_bits.ttc$v_reserved #define ttc$v_kana ttc$r_ttcdef_bits.ttc$v_kana #define ttc$v_kanji ttc$r_ttcdef_bits.ttc$v_kanji #define ttc$v_hanzi ttc$r_ttcdef_bits.ttc$v_hanzi #define ttc$v_hangul ttc$r_ttcdef_bits.ttc$v_hangul #define ttc$v_hanyu ttc$r_ttcdef_bits.ttc$v_hanyu #define ttc$v_thai ttc$r_ttcdef_bits.ttc$v_thai #endif /* #if !defined(__VAXC) */ #else /* __OLD_STARLET */ union ttcdef { __struct { unsigned ttc$v_reserved : 8; /* First byte is reserved */ unsigned ttc$v_kana : 1; /* Katakana */ unsigned ttc$v_kanji : 1; /* Kanji */ unsigned ttc$v_hanzi : 1; /* Hanzi */ unsigned ttc$v_hangul : 1; /* Hangul */ unsigned ttc$v_hanyu : 1; /* Hanyu */ unsigned ttc$v_thai : 1; /* Thai */ unsigned ttc$v_fill_45_ : 2; } ttc$r_ttcdef_bits; } ; #if !defined(__VAXC) #define ttc$v_reserved ttc$r_ttcdef_bits.ttc$v_reserved #define ttc$v_kana ttc$r_ttcdef_bits.ttc$v_kana #define ttc$v_kanji ttc$r_ttcdef_bits.ttc$v_kanji #define ttc$v_hanzi ttc$r_ttcdef_bits.ttc$v_hanzi #define ttc$v_hangul ttc$r_ttcdef_bits.ttc$v_hangul #define ttc$v_hanyu ttc$r_ttcdef_bits.ttc$v_hanyu #define ttc$v_thai ttc$r_ttcdef_bits.ttc$v_thai #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 /* __TTCDEF_LOADED */