mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-06 20:10:08 +01:00
Start of porting to newest sip. Not quite ready yet…
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
// This contains all the C++ code that is needed by the sip module.
|
||||
//
|
||||
// Copyright (c) 2013 Riverbank Computing Limited <info@riverbankcomputing.com>
|
||||
// Copyright (c) 2015 Riverbank Computing Limited <info@riverbankcomputing.com>
|
||||
//
|
||||
// This file is part of SIP.
|
||||
//
|
||||
@@ -18,5 +18,5 @@
|
||||
// Set a C++ bool for the main C implementation of the module.
|
||||
extern "C" void sipSetBool(void *ptr, int val)
|
||||
{
|
||||
*reinterpret_cast<bool *>(ptr) = val;
|
||||
*reinterpret_cast<bool *>(ptr) = !!val;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user