I want to call functions from a C++ library in a python code, and I don't how it should be done. I am wondering whether it is possible to use numpy.array as input for C++ pointers or whether I need to modify them to transfer from python to C?
            Asked
            
        
        
            Active
            
        
            Viewed 526 times
        
    2
            
            
        - 
                    1http://csl.name/C-functions-from-Python/ – 1478963 Jun 08 '14 at 19:01
- 
                    I am closing this as a duplicate. If you feel that there is part of the question not answered by the duplicate, please separate it into a new question that is clearly distinct from the referenced question. – Veedrac Jun 08 '14 at 19:54
1 Answers
0
            
            
        Similar questions have already been discussed on stackoverflow. Here are some of them:
- Calling C/C++ from python?
- Calling C functions in Python
- Wrapping a C library in Python: C, Cython or ctypes?
About using numpy.array as input for C/C++ function look the answers to the similar question here:
Passing Numpy arrays to a C function for input and output
 
     
    