summaryrefslogtreecommitdiff
path: root/nxt-python-fantom
diff options
context:
space:
mode:
authorTat-Chee Wan (USM)2011-03-03 08:14:22 +0800
committerTat-Chee Wan (USM)2011-03-03 08:14:22 +0800
commit6a5e828fbc95843d065fdd53c0dc4076afccc56e (patch)
treee0aa87adeb12adb58e1b3c845153eeccddb1652a /nxt-python-fantom
parent39058288d8ab2ed1486cefdc8547d25c3d723a8c (diff)
changed cpp object method call parameters to specific c types
Isolate Python to C/C++ conversion code to extern C routines. Only the static methods deal with Python Objects to reduce list processing inefficiencies.
Diffstat (limited to 'nxt-python-fantom')
-rw-r--r--nxt-python-fantom/nxt/fantomglue.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nxt-python-fantom/nxt/fantomglue.py b/nxt-python-fantom/nxt/fantomglue.py
index 4a2497a..3e3c68f 100644
--- a/nxt-python-fantom/nxt/fantomglue.py
+++ b/nxt-python-fantom/nxt/fantomglue.py
@@ -33,7 +33,7 @@ class BluetoothSocket:
def __init__(self, proto = FANTOM_BT, _sock=None):
if _sock is None:
- _sock = pyfantom.socket(proto)
+ _sock = pyfantom.socket(proto, passkey = None)
self._sock = _sock
self._proto = proto