GCC Wikia
Advertisement

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

概要[]

引数[]

実装[]

40 /* Add the N PARAMS to the current list of compiler parameters.  */
41 
42 void
43 add_params (const param_info params[], size_t n)
44 {
45   /* Allocate enough space for the new parameters.  */
46   compiler_params = xrealloc (compiler_params,
47                               (num_compiler_params + n) * sizeof (param_info));
48   /* Copy them into the table.  */
49   memcpy (compiler_params + num_compiler_params,
50           params,
51           n * sizeof (param_info));
52   /* Keep track of how many parameters we have.  */
53   num_compiler_params += n;
54 }



リンク元

Advertisement