Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add swig option to include doc for java and python wrapper #4080

Merged
merged 2 commits into from
Sep 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions pjsip-apps/src/swig/java/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ SWIG_FLAGS=-I../../../../pjlib/include \
SRC_DIR=../../../../pjsip/include
SRCS=$(SRC_DIR)/pjsua2/endpoint.hpp $(SRC_DIR)/pjsua2/types.hpp

GEN_DOC = -doxygen
SWIG_FLAGS += $(GEN_DOC)

ifneq ($(findstring android,$(TARGET_NAME)),)
OS=android
ifeq ("$(JAVA_HOME)","")
Expand Down
3 changes: 2 additions & 1 deletion pjsip-apps/src/swig/python/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,11 @@ SWIG_FLAGS=-I../../../../pjlib/include \
SRC_DIR=../../../../pjsip/include
SRCS=$(SRC_DIR)/pjsua2/endpoint.hpp $(SRC_DIR)/pjsua2/types.hpp

GEN_DOC = -doxygen
USE_THREADS = -threads
# In SWIG 4.2 the build will fail if we use this flag
#-DSWIG_NO_EXPORT_ITERATOR_METHODS
SWIG_FLAGS += -w312 $(USE_THREADS)
SWIG_FLAGS += -w312 $(USE_THREADS) $(GEN_DOC)

.PHONY: all install uninstall

Expand Down
2 changes: 1 addition & 1 deletion pjsip/include/pjsua2/siptypes.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ struct TransportConfig : public PersistentObject

/**
* This specifies TLS settings for TLS transport.
* Its only used when creating a SIP TLS transport.
* It's only used when creating a SIP TLS transport.
*/
TlsConfig tlsConfig;

Expand Down
Loading