# dmd.importc

Contains semantic routines specific to ImportC

Specification: C11

#### Authors

Walter Bright

#### License

Boost License 1.0

Source: importc.d

Documentation: https://dlang.org/phobos/dmd_importc.html

Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/importc.d

- `cAdjustParamType`

  #### Declaration

  `Type `cAdjustParamType`(Type `t`, Scope* `sc`);`

  C11 does not allow array or function parameters. Hence, adjust those types per C11 6.7.6.3 rules.

  #### Parameters

  `Type `t`` | parameter type to adjust
  `Scope* `sc`` | context

  #### Return Value

  adjusted type

- `arrayFuncConv`

  #### Declaration

  `Expression `arrayFuncConv`(Expression `e`, Scope* `sc`);`

  C11 6.3.2.1-3 Convert expression that is an array of type to a pointer to type. C11 6.3.2.1-4 Convert expression that is a function to a pointer to a function.

  #### Parameters

  `Expression `e`` | ImportC expression to possibly convert
  `Scope* `sc`` | context

  #### Return Value

  converted expression