Skip to content

Fix for SourceForge Bug #1278 - #1

Merged
wsfulton merged 1 commit into
swig:masterfrom
BrantKyser:SFbug1278
Jan 3, 2013
Merged

wsfulton merged 1 commit into
swig:masterfrom
BrantKyser:SFbug1278

Conversation

@BrantKyser

Copy link
Copy Markdown
Contributor
  • Modify test-suite to test Java directors with multi-level namespaces.
  • Path java module to correctly generate method descriptors when multilevel namespaces are used.

* Modify test-suite to test Java directors with multi-level namespaces.
* Path java module to correctly generate method descriptors when multilevel namespaces are used.
wsfulton added a commit that referenced this pull request Jan 3, 2013
@wsfulton
wsfulton merged commit 619b424 into swig:master Jan 3, 2013
@wsfulton

wsfulton commented Jan 3, 2013

Copy link
Copy Markdown
Member

Thanks Brant!
I'll also shortly fix up the other director languages for this problem.

@BrantKyser

Copy link
Copy Markdown
Contributor Author

FYI:, In case you want to make the appropriate changes to the other languages modules all at once, I have a couple of other director fixes for Java that I am working on getting ready to submit

@wsfulton

wsfulton commented Jan 3, 2013

Copy link
Copy Markdown
Member

Hi, I'd rather a separate pull request for each feature. I see you have put in another, so that is perfect.

Now to work out how to do the pull requests properly. For this one I just used the web and hit the pull button after reviewing the code, hoping it would all work once it was all in master. Clearly that isn't the way forward as I need to check it on my computer first on master and possibly modify the patch before committing.

@wsfulton

wsfulton commented Jan 3, 2013

Copy link
Copy Markdown
Member

@DarthGandalf

Copy link
Copy Markdown
Contributor

Btw, not sure why that article doesn't mention this... You can fetch changes without adding that repository to remotes.

git fetch origin pull/123/head

or

git pull origin pull/123/head

@wsfulton wsfulton mentioned this pull request Jan 4, 2013
jgillis pushed a commit to jgillis/swig that referenced this pull request Apr 20, 2015
ojwb pushed a commit that referenced this pull request Aug 1, 2016
Use CXX as the C++ compiler to build HHVM examples
wsfulton pushed a commit that referenced this pull request Jan 16, 2017
wsfulton pushed a commit that referenced this pull request May 21, 2017
@IvanFarkas IvanFarkas mentioned this pull request Dec 29, 2018
jschueller referenced this pull request in jschueller/swig May 10, 2021
This fixes a leak detected using ASAN from SwigPyClientData_New:

Direct leak of 48 byte(s) in 1 object(s) allocated from:
    #0 0x7faf628f5bc8 in malloc (/usr/lib/gcc/x86_64-linux-gnu/9/libasan.so+0x10dbc8)
    #1 0x7faf52f5bda0 in SwigPyClientData_New /home/schueller/projects/openturns/schueller/build2/python/src/CMakeFiles/geom.dir/geom_modulePYTHON_wrap.cxx:1345
    swig#2 0x7faf52f5dad3 in NearestNeighbourAlgorithmImplementation_swigregister /home/schueller/projects/openturns/schueller/build2/python/src/CMakeFiles/geom.dir/geom_modulePYTHON_wrap.cxx:5528
    swig#3 0x5c3a3f in cfunction_vectorcall_O ../Objects/methodobject.c:482

I dont have a minimal reproducer, but it may be because I use multiple
swig module.
jschueller referenced this pull request in jschueller/swig May 12, 2021
This fixes a leak detected using ASAN from SwigPyClientData_New:

Direct leak of 48 byte(s) in 1 object(s) allocated from:
    #0 0x7faf628f5bc8 in malloc (/usr/lib/gcc/x86_64-linux-gnu/9/libasan.so+0x10dbc8)
    #1 0x7faf52f5bda0 in SwigPyClientData_New /home/schueller/projects/openturns/schueller/build2/python/src/CMakeFiles/geom.dir/geom_modulePYTHON_wrap.cxx:1345
    swig#2 0x7faf52f5dad3 in NearestNeighbourAlgorithmImplementation_swigregister /home/schueller/projects/openturns/schueller/build2/python/src/CMakeFiles/geom.dir/geom_modulePYTHON_wrap.cxx:5528
    swig#3 0x5c3a3f in cfunction_vectorcall_O ../Objects/methodobject.c:482

I dont have a minimal reproducer, but it may be because I use multiple
swig module.
mildsunrise pushed a commit to mildsunrise/swig that referenced this pull request Oct 10, 2022
wsfulton pushed a commit that referenced this pull request Mar 25, 2023
Update octrun.swg to work with Octave v8.1.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants