summaryrefslogtreecommitdiffstats
path: root/src/tools/tqlibrary_unix.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-12-22 12:05:18 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-12-22 12:13:05 +0900
commita4ebd73f48610ed351c9c53f3646d0597f8ea7bc (patch)
tree2edd219eef4cb8f35bb3844d06902ae8b2fcb565 /src/tools/tqlibrary_unix.cpp
parent7d612f7c91d55501276a385a30dbadb121e7bd9f (diff)
downloadtqt-rename/true-false-9.tar.gz
tqt-rename/true-false-9.zip
Replace TRUE/FALSE with boolean values true/false - part 9rename/true-false-9
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/tools/tqlibrary_unix.cpp')
-rw-r--r--src/tools/tqlibrary_unix.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/tools/tqlibrary_unix.cpp b/src/tools/tqlibrary_unix.cpp
index c541625d9..7e2997087 100644
--- a/src/tools/tqlibrary_unix.cpp
+++ b/src/tools/tqlibrary_unix.cpp
@@ -61,7 +61,7 @@
bool TQLibraryPrivate::loadLibrary()
{
if ( pHnd )
- return TRUE;
+ return true;
TQString filename = library->library();
@@ -76,17 +76,17 @@ bool TQLibraryPrivate::loadLibrary()
bool TQLibraryPrivate::freeLibrary()
{
if ( !pHnd )
- return TRUE;
+ return true;
if ( shl_unload( (shl_t)pHnd ) ) {
#if defined(QT_DEBUG) || defined(QT_DEBUG_COMPONENT)
TQString filename = library->library();
tqWarning( "%s: Failed to unload library!", filename.latin1() );
#endif
- return FALSE;
+ return false;
}
pHnd = 0;
- return TRUE;
+ return true;
}
void* TQLibraryPrivate::resolveSymbol( const char* symbol )
@@ -113,7 +113,7 @@ void* TQLibraryPrivate::resolveSymbol( const char* symbol )
bool TQLibraryPrivate::loadLibrary()
{
if ( pHnd )
- return TRUE;
+ return true;
TQString filename = library->library();
@@ -128,17 +128,17 @@ bool TQLibraryPrivate::loadLibrary()
bool TQLibraryPrivate::freeLibrary()
{
if ( !pHnd )
- return TRUE;
+ return true;
if ( DL_PREFIX(dlclose)( pHnd ) ) {
#if defined(QT_DEBUG) || defined(QT_DEBUG_COMPONENT)
tqWarning( "%s", DL_PREFIX(dlerror)() );
#endif
- return FALSE;
+ return false;
}
pHnd = 0;
- return TRUE;
+ return true;
}
void* TQLibraryPrivate::resolveSymbol( const char* symbol )