Skip to content

Commit

Permalink
Merge pull request #3 from ckorn/print_rename
Browse files Browse the repository at this point in the history
Rename print function because Python 2 does not allow a function to be named print.
  • Loading branch information
jhasse committed Oct 24, 2012
2 parents ace92ad + 64ced3a commit 4f10dc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ BOOST_PYTHON_MODULE(jngl)
def("setFontColor", setFontColor2);
def("setSpriteColor", setSpriteColor1);
def("setSpriteColor", setSpriteColor2);
def("print", print);
def("print1", print);
def("getFontSize", getFontSize);
def("setFontSize", setFontSize);
def("setFont", setFont);
Expand Down

0 comments on commit 4f10dc0

Please sign in to comment.