Skip to content

Commit

Permalink
Updated phonebook example to work around issue #20
Browse files Browse the repository at this point in the history
  • Loading branch information
Jakob Ovrum committed Aug 12, 2011
1 parent b2f1f3b commit 888cc6f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion example/phonebook/phonebook.d
Expand Up @@ -8,9 +8,10 @@ struct Contact
string email;
uint number;

static Contact[] fromFile(string path)
static Contact[] fromFile(in char[] path)
{
auto lua = new LuaState;
lua.openLibs(); // issue #20

Contact[] contacts;

Expand Down
2 changes: 1 addition & 1 deletion visuald/examples/phonebook.visualdproj
Expand Up @@ -84,7 +84,7 @@
<postBuildCommand />
<debugtarget>$(TARGETPATH)</debugtarget>
<debugarguments />
<debugworkingdir />
<debugworkingdir>$(OutDir)</debugworkingdir>
<debugattach>0</debugattach>
<debugremote />
<debugEngine>0</debugEngine>
Expand Down

0 comments on commit 888cc6f

Please sign in to comment.