pjsip / pjproject

PJSIP project
http://www.pjsip.org
GNU General Public License v2.0
2.02k stars 771 forks source link

Update for swig/python #4093

Open Axiinos opened 2 days ago

Axiinos commented 2 days ago

i made changes to make importsym more adaptive, along with checking if the system is win32, if it is, it will ask the user the registered path is correct, if not change it to the correct one, then edit and comment #include<pj/compat/socket.h> for them.

at the same time made changes to setup.py, including automatic execution of transform_docs.py, adding code comments for the user without any hassle.

I have tested the changes against linux and windows, and they seem to function as expected.

however i do still happen to hit a roadblock of the actual process function having issues with _fake_typedefs.h "see screenshot for reference.", which is likely just a setup issue on my end/versioning issues....

Linux version: image

Windows version: image

there is also probably some methods i could have done better, tho i would like to hear feedback on the solution!

CLAassistant commented 2 days ago

CLA assistant check
All committers have signed the CLA.

sauwming commented 6 hours ago

I tested it here on Mac and it didn't work either. Unfortunately, I also don't know how to fix it.