View source code
Display the source code in dmd/root/response.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.root.response.insertArgumentsFromResponse

Take the contents of a response-file 'buffer', parse it and put the resulting arguments in 'args' at 'argIndex'. 'argIndex' will be updated to point just after the inserted arguments. The logic of this should match that in setargv()

bool insertArgumentsFromResponse (
  char[] buffer,
  ref dmd.root.array.Array!(const(char)*) args,
  ref ulong argIndex
) pure;

Parameters

NameDescription
buffer mutable string containing the response file
args list of arguments
argIndex position in 'args' where response arguments are inserted

Returns

true if another response argument was found

Authors

Walter Bright

License

Boost License 1.0