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
			a local clone.
		
	dmd.cpreprocess
Run the C preprocessor on a C source file.
Specification C11
Authors: 
License: 
Source cpreprocess.d
Documentation https://dlang.org/phobos/dmd_cpreprocess.html
- DArray!ubytepreprocess(FileNamecsrcfile, Locloc, ref OutBufferdefines);
- Preprocess C file.Parameters:FileName csrcfileC file to be preprocessed, with .c or .h extension Loc locThe source location where preprocess is requested from OutBuffer definesbuffer to append any #define and #undef lines encountered to Result the text of the preprocessed file 
- const(char)*findImportcH(const(char)*[]path);
- Find importc.h by looking along the pathParameters:const(char)*[] pathimport path Returns:importc.h file name, null if not found
Copyright © 1999-2025 by the D Language Foundation | Page generated by
Ddoc on Mon Mar 31 10:27:48 2025