summaryrefslogtreecommitdiffstats
path: root/lib/qpnexus.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/qpnexus.h')
-rw-r--r--lib/qpnexus.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/qpnexus.h b/lib/qpnexus.h
index f4195a4d..0cf5a824 100644
--- a/lib/qpnexus.h
+++ b/lib/qpnexus.h
@@ -75,10 +75,10 @@ typedef struct qpn_nexus* qpn_nexus ;
struct qpn_nexus
{
/* set true to terminate the thread (eventually) */
- int terminate;
+ bool terminate;
/* true if this is the main thread */
- int main_thread;
+ bool main_thread;
/* thread ID */
qpt_thread_t thread_id;
@@ -146,7 +146,7 @@ struct qpn_nexus
* Functions
*/
-extern qpn_nexus qpn_init_new(qpn_nexus qpn, int main_thread);
+extern qpn_nexus qpn_init_new(qpn_nexus qpn, bool main_thread);
extern void qpn_add_hook_function(qpn_hook_list list, void* hook) ;
extern void qpn_exec(qpn_nexus qpn);
extern void qpn_terminate(qpn_nexus qpn);