View source code
Display the source code in dmd/target.d from which this page was generated on github.
Report a bug
If you spot a problem with this page, click here to create a Bugzilla issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page. Requires a signed-in GitHub account. This works well for small changes. If you'd like to make larger changes you may want to consider using local clone.

Struct dmd.target.TargetC

Functions and variables specific to interfacing with extern(C) ABI.

struct TargetC ;

Fields

NameTypeDescription
bitFieldStyle dmd.target.TargetC.BitFieldStyledifferent C compilers do it differently
boolsize ubytesize of a C _Bool type
crtDestructorsSupported boolNot all platforms support crt_destructor
intsize ubytesize of a C int or unsigned int type
long_doublesize ubytesize of a C long double
long_longsize ubytesize of a C long long or unsigned long long type
longsize ubytesize of a C long or unsigned long type
runtime dmd.target.TargetC.Runtimevendor of the C runtime to link against
shortsize ubytesize of a C short or unsigned short type
wchar_tsize ubytesize of a C wchar_t type

Authors

Walter Bright

License

Boost License 1.0