View source code
							
							
						
								Display the source code in dmd/mars.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.
							
						Function dmd.mars.createModule
Creates the module based on the file provided
						
					
				The file is dispatched in one of the various arrays (global.params.{ddocfiles,dllfiles,jsonfiles,etc...}) according to its extension. If it is a binary file, it is added to libmodules.
Parameters
| Name | Description | 
|---|---|
| file | File name to dispatch | 
| libmodules | Array to which binaries (shared/static libs and object files) will be appended | 
Returns
A D module
Authors
License
					Copyright © 1999-2022 by the D Language Foundation | Page generated by ddox.