|
From: <kin...@us...> - 2024-11-30 11:52:56
|
Revision: 7248
http://sourceforge.net/p/teem/code/7248
Author: kindlmann
Date: 2024-11-30 11:52:54 +0000 (Sat, 30 Nov 2024)
Log Message:
-----------
fixing where NULL comes from
Modified Paths:
--------------
teem/trunk/python/cffi/lliibb.py
teem/trunk/python/cffi/teem.py
Modified: teem/trunk/python/cffi/lliibb.py
===================================================================
--- teem/trunk/python/cffi/lliibb.py 2024-11-28 16:42:21 UTC (rev 7247)
+++ teem/trunk/python/cffi/lliibb.py 2024-11-30 11:52:54 UTC (rev 7248)
@@ -189,7 +189,7 @@
def _equals_null(val): # likely used in _BIFF_DICT, below
"""Returns True iff given val equals NULL"""
- return val == NULL # NULL is set at very end of this file
+ return val == _lliibb.ffi.NULL
_BIFF_DICT = { # contents here are filled in by teem/python/cffi/exult.py Tffi.wrap()
Modified: teem/trunk/python/cffi/teem.py
===================================================================
--- teem/trunk/python/cffi/teem.py 2024-11-28 16:42:21 UTC (rev 7247)
+++ teem/trunk/python/cffi/teem.py 2024-11-30 11:52:54 UTC (rev 7248)
@@ -189,7 +189,7 @@
def _equals_null(val): # likely used in _BIFF_DICT, below
"""Returns True iff given val equals NULL"""
- return val == NULL # NULL is set at very end of this file
+ return val == _teem.ffi.NULL
_BIFF_DICT = { # contents here are filled in by teem/python/cffi/exult.py Tffi.wrap()
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|