Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
9il committed Apr 25, 2015
1 parent 18a167d commit fe71407
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 6 deletions.
10 changes: 10 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ docs/build

*.dub

*.selections.json

*.sublime-workspace

*.sublime-project
Expand All @@ -21,3 +23,11 @@ examples/matplotlib/atmosphere_gm_charts
examples/matplotlib/plotting_example

examples/vibed-mongo/vibed-mongo

examples/dub-example/application/application

examples/dub-example/component/__test__library__

examples/dub-example/component/libcomponent.a

examples/dub-example/application/grep
2 changes: 1 addition & 1 deletion docs/source/integration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Integration with other languages
C and friends
-------------

D that `has <http://dlang.org/interfaceToC.html>`_ full support for C ABI [#ABI]_ had recently been significantly improved for `interfacing with C++ <http://dlang.org/cpp_interface.html>`_ (however it's worth noting that there is no support for C++ exceptions). Jacob Carlborg did a great job of integrating with Objective-C, which is still waiting to be no less grandiose Review by Walter Bright.
D that `has <http://dlang.org/interfaceToC.html>`_ full support for C ABI [#ABI]_ had recently been significantly improved for `interfacing with C++ <http://dlang.org/cpp_interface.html>`_ (however there is no support for C++ exceptions). Jacob Carlborg did a great job of integrating with Objective-C, which is still waiting to be no less grandiose review by Walter Bright.

Scripting languages
-------------------
Expand Down
2 changes: 1 addition & 1 deletion examples/dub-example/application/dub.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
"copyright": "Copyright © 2015, ilya",
"authors": ["ilya"],
"dependencies": {
"comp": "~master"
"component": "~master"
}
}
8 changes: 4 additions & 4 deletions examples/dub-example/component/source/component/mod.d
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ module component.mod;
import std.algorithm, std.ascii, std.range, std.string, std.functional;

/++
Reads forward range `ir` and removes single line comments.
The result is stored in output range `or`.
Params:
or = output range
ir = input range
cmt = comment prefix (like // in or # in Python)
Returns
Text without single line comments.
cmt = comment prefix (like // in C or # in Python)
+/
void removeSingleLineComments
(OutputRange, Range1, Range2) // template parameters
Expand Down

0 comments on commit fe71407

Please sign in to comment.