We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 857156d commit 2308dbaCopy full SHA for 2308dba
spec/importc.dd
@@ -37,7 +37,7 @@ $(H2 $(LNAME2 examples, Quick Examples))
37
hello world
38
)
39
40
- $(P C function in file $(TT square.c):)
+ $(P C function in file $(TT functions.c):)
41
42
$(CCODE
43
int square(int i)
@@ -50,7 +50,7 @@ $(H2 $(LNAME2 examples, Quick Examples))
50
51
---
52
import std.stdio;
53
- import square;
+ import functions;
54
void main()
55
{
56
int i = 7;
@@ -61,7 +61,7 @@ $(H2 $(LNAME2 examples, Quick Examples))
61
$(P Compile and run:)
62
63
$(CONSOLE
64
- dmd demo.d square.c
+ dmd demo.d functions.c
65
./demo
66
The square of 7 is 49
67
0 commit comments