Syrinx
(1000+ posts)
Send PM |
Profile |
Ignore
|
Tue Jan-31-06 05:54 AM
Original message |
anybody familiar with SWIG? |
|
(It's a great tool for making code bindings.)
How do you handle inline methods from C++ classes? I haven't got it to work yet.
Thanks.
|
Syrinx
(1000+ posts)
Send PM |
Profile |
Ignore
|
Sun Feb-05-06 02:49 AM
Response to Original message |
1. any SWIG gurus out there? |
|
I'm trying to wrap the C++ version of ImageMagick in order to get Python bindings, but I'm having a heck of time figuring this out. It's not so much inline methods now that are giving me headaches now. ImageMagick uses multiple namespaces, and no matter what I do, I can't seem to merge them peacefully.
If I ever get it to work, I'll be glad to share. Hint, hint. ;)
|
qnr
(1000+ posts)
Send PM |
Profile |
Ignore
|
Sun Feb-05-06 11:16 PM
Response to Reply #1 |
2. Can't help you - but good luck :) n/t |
Syrinx
(1000+ posts)
Send PM |
Profile |
Ignore
|
Sun Feb-05-06 11:25 PM
Response to Reply #2 |
3. decided to go another route |
|
I spent about a week trying to wrap the C++ without luck. Today I decided to try the C API instead. After just about an hour, I think I've got it licked already. I guess the problem with the C++ version was the tangled web of namespaces, and the resulting name-mangling. Unfortunately, the C API isn't real clear as compared to Magick++. But at least I've got it working... I think.
Looks like your wish of luck did the trick! :)
|
DU
AdBot (1000+ posts) |
Wed Jul 23rd 2025, 03:24 AM
Response to Original message |