View source code
Display the source code in dmd/cparse.d from which thispage was generated on github.
Report a bug
If you spot a problem with this page, click here to create aGitHub 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 usinglocal clone.

Function dmd.cparse.CParser.pragmaConstructConsideration

# pragma function_decl/function_def An ImportC-specific pragma for specifying whether declarations and definitions are to be considered or ignored. Scanner is on the function_decl/function_def

void pragmaConstructConsideration(
  Loc startloc,
  Identifier categoryId,
  ConstructCategory category
);

Parameters

NameDescription
startloc location to use for error messages
categoryId the identifier of the pragma's name/category
category the category of the pragma

Authors

Walter Bright

License

Boost License 1.0