From 6a5e828fbc95843d065fdd53c0dc4076afccc56e Mon Sep 17 00:00:00 2001 From: Tat-Chee Wan (USM) Date: Thu, 3 Mar 2011 08:14:22 +0800 Subject: 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. --- nxt-python-fantom/nxt/fantomglue.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nxt-python-fantom/nxt/fantomglue.py') 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 -- cgit v1.2.3