ctypes class 사용하기1 ctypes class ][ python에서 c++ class 사용하기 ctypes class ][ python에서 c++ class 사용하기 ■ git # # https://github.com/SpeeDr00t/code/tree/master/python/0x04-ctypes/0x01-helloworld # # ■ hello.cpp // // // // write by kyoung chip , jang // // g++ -c -fPIC hello.cpp -o hello.o // g++ -shared -Wl,-soname,libhello.so -o libhello.so hello.o // // #include #include #include #include using namespace std; class CHello { private: vector m_vec; public: .. 2017. 10. 8. 이전 1 다음