Skip to content

Commit

Permalink
Add a few more debug messages to the wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
lgrahl committed Jun 11, 2015
1 parent bf65310 commit 9cf2e2b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions cpp/src/wrapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,8 @@ void Py3kFinalize() {
pTick = nullptr;
pKeyEvent = nullptr;
pThreadState = nullptr;
} else {
log_debug("Not initialised");
}
}

Expand Down Expand Up @@ -425,6 +427,7 @@ void Py3kWrapperStart() {
Py3kReinitialize();

// Main loop
log_debug("Entering main loop");
while (true) {
switch (action) {
case STOP:
Expand All @@ -447,6 +450,7 @@ void Py3kWrapperStart() {
// Yield
scriptWait(0);
}
log_error("Exited main loop");
}

void Py3kWrapperStop() {
Expand Down
2 changes: 1 addition & 1 deletion cpp/src/wrapper.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#include <iostream>
#include <fstream>

#define PY3KWRAPPER_VERSION "0.9.7"
#define PY3KWRAPPER_VERSION "0.9.8"

enum Py3kAction : int {
NONE,
Expand Down

0 comments on commit 9cf2e2b

Please sign in to comment.