GCC Wikia
Advertisement

このページを編集する際は,編集に関する方針に従ってください.[]

概要[]

  • gcc-4.1.0/gcc/vec.hにて定義
  • ベクトル型とそれを操作する関数群の定義をつくり出す

引数[]

  • T

実装[]

 477 /* Vector of pointer to object.  */

~
*gcc-4.1.0/gcc/gengtype-lex.c,gcc-4.1.0/gcc/gengtype-lex.lにて定義される

478 #if IN_GENGTYPE

~

479 {"DEF_VEC_P", VEC_STRINGIFY (VEC_T_GTY(#0,#1)) ";", "none"},

~

481 #else
482 #define DEF_VEC_P(T)                                                      \
483 static inline void VEC_OP (T,must_be,pointer_type) (void)                 \
484 {                                                                         \
485   (void)((T)1 == (void *)1);                                              \
486 }                                                                         \
487                                                                           \
488 VEC_T_GTY(T,base);                                                        \
489 VEC_TA_GTY(T,base,none,);                                                 \
490 DEF_VEC_FUNC_P(T)                                                         \

*定義が見当たらない([[gonzuiで検索してみる限り>https://www.codeblog.org/gonzui/search?q=package%3Agcc-4.1.0+%22struct+vec_swallow_trailing_semi%22&fm=all]])
*何かの目印

491 struct vec_swallow_trailing_semi

~

496 #endif


リンク元

Advertisement