Make sip_api_get_address a public API function #8

Merged
SlavekB merged 1 commits from public-get-address into master 2 years ago
Collaborator

The sipGetAddress function has been renamed as sip_api_get_address and made available as part of the public API.

Signed-off-by: aneejit1 aneejit1@gmail.com

The sipGetAddress function has been renamed as sip_api_get_address and made available as part of the public API. Signed-off-by: aneejit1 <aneejit1@gmail.com>
aneejit1 added 1 commit 2 years ago
b92a3b0a4e
Make sip_api_get_address a public API function
Owner

Just a question: what is the reason behind this change? Is the function used by other modules? I am not saying the change is wrong, just want to have some understanding.

Just a question: what is the reason behind this change? Is the function used by other modules? I am not saying the change is wrong, just want to have some understanding.
Poster
Collaborator

The function is needed as part of the resolution to the "underlying C/C++ object has been deleted" problem with python-tqt. I needed to be able to access the CppPtr but that process is not a simple one and required the function call in order to do it properly without duplicating the code. Part of this was already implemented in the form of the "sipGetAddress" macro that tried to access a field that wasn't in the API struct, it's just that the work to make the actual function public hadn't been done.

The function is needed as part of the resolution to the "underlying C/C++ object has been deleted" problem with python-tqt. I needed to be able to access the CppPtr but that process is not a simple one and required the function call in order to do it properly without duplicating the code. Part of this was already implemented in the form of the "sipGetAddress" macro that tried to access a field that wasn't in the API struct, it's just that the work to make the actual function public hadn't been done.
Owner

Ok, thanks for explanation :-)

Ok, thanks for explanation :-)
SlavekB approved these changes 2 years ago
SlavekB left a comment
Owner

It looks good.

It looks good.
SlavekB merged commit b92a3b0a4e into master 2 years ago
SlavekB deleted branch public-get-address 2 years ago
SlavekB added this to the R14.0.13 release milestone 2 years ago

Reviewers

SlavekB approved these changes 2 years ago
The pull request has been merged as b92a3b0a4e.
Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
3 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: TDE/sip4-tqt#8
Loading…
There is no content yet.