numeric C pointer argument and python integer argument
"Daniele Pianu" <[email protected]>
| Newsgroups | gmane.comp.python.pyrex |
|---|---|
| Message-ID | <[email protected]> |
I've a C function like this void Socket_getRemoteAddr<file:///home/daniele/.HRI/Proxy/HRI/Libraries/Socket/2.0/doc/html/Socket_8h.html#74523edd41cdf2247e109cc58429ca30>( Socket<file:///home/daniele/.HRI/Proxy/HRI/Libraries/Socket/2.0/doc/html/structSocket.html>*self, char *serverHostAddr, int bufferSize, int *serverPortNo) and I want to wrap it on this python method def setRemoteAddr( self, serverHostAddr, serverPortNo ) serverPortNo is a python integer, and it must reflect modifications done on the relative C argument (serverPortNo). How can I do it in pyrex? P.S.: sorry for my very bad english :) _______________________________________________ Pyrex mailing list [email protected] http://lists.copyleft.no/mailman/listinfo/pyrex