Changeset 347 for trunk


Ignore:
Timestamp:
03/28/12 16:18:00 (8 years ago)
Author:
sc
Message:
 
Location:
trunk/project/PuzzleboxSynapseEmotiv/PuzzleboxSynapseEmotiv
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/project/PuzzleboxSynapseEmotiv/PuzzleboxSynapseEmotiv/hello.pyx

    r346 r347  
    33cdef extern from "edk.h": 
    44#       int EE_EngineRemoteConnect(const char* szHost, unsigned short port) 
    5 #       int EE_EngineRemoteConnect(char* szHost, unsigned short port) 
    6 #       int EE_EngineRemoteConnect(string szHost, int port) 
    7         int EE_EngineRemoteConnect() 
     5        int EE_EngineRemoteConnect(char* szHost, unsigned short port) 
     6#       int EE_EngineRemoteConnect(char* szHost, int port) 
     7#       int EE_EngineRemoteConnect() 
    88 
    99def say_hello_to(name): 
    1010        print("Hello, %s" % name) 
     11 
     12#def emotiv(): 
     13        #handle = EE_EngineRemoteConnect("127.0.0.1", 1726) 
     14        #print type(handle) 
     15        #print handle 
  • trunk/project/PuzzleboxSynapseEmotiv/PuzzleboxSynapseEmotiv/setup.py

    r346 r347  
    33from Cython.Distutils import build_ext 
    44 
    5 ext_modules = [Extension("hello", ["hello.pyx"])] 
     5ext_modules = [Extension("hello", \ 
     6                        ["hello.pyx"], \ 
     7                        language='c++')] 
    68 
    79setup( 
Note: See TracChangeset for help on using the changeset viewer.