Home
Reading
Searching
Subscribe
Sponsors
Statistics
Posting
Contact
Spam
Lists
Links
About
Hosting
Filtering
Features Download
Marketing
Archives
FAQ
Blog
 
Gmane
From: Josef Pacula <josef.pacula <at> gmail.com>
Subject: Re: Request for a Matlab-branch
Newsgroups: gmane.comp.programming.swig.devel
Date: Sunday 27th May 2012 20:57:09 UTC (over 5 years ago)
Oh yea,

I believe this should be able to wrap C functions (pointers, primitive
types, struct), C++ classes (no templates), overloaded functions.

Josef

On 27 May 2012 21:11, Josef Pacula  wrote:
> Hey SWIGgers!
>
> I would love if someone could have a look at this and tell us what is
> the first step to make this a tiny bit closer to a regular SWIG
> module.
>
> https://github.com/twiho/Matlab-in-SWIG
>
> I know that the code generation should be done mainly through
> typemaps, but since we had some deadlines going (and, ehm, since there
> is not much documentation), we did what we could.
> I know it is terrible, but one must start somewhere, right? So,
> please, do not slap me around with a large trout, right?
>
> Should anyone be interested in reading the thesis that came along
> (which I find awkward :D), check it out
> fi.muni.cz/~xpacula/thesis_pacula.pdf (still a draft)
>
> Best regards,
> Josef
>
>
> On 17 May 2012 09:31, Oliver Buchtala 
wrote:
>> Hi Josef,
>>
>> (All?) other modules behave like this.
>>
>> Though, IMO it doesn't mean that your module has to.
>>
>> Namespace information is available in the 'name' attribute e.g., of a
class
>> declaration node.
>> You can retrieve the namespace with
>>
>>    Swig_scopename_prefix(Getattr(n, "name"));
>>
>> HTH,
>> Oliver
>>
>>
>>
>> On 17.05.2012 09:19, Josef Pacula wrote:
>>>
>>> Thanks!
>>>
>>> The documentation of SWIG says that namespaces are flattened. Is there
>>> a way to use the namespace information? Like a simple switch or a
>>> macro that would prepend namespace names to each wrapped item?
>>>
>>> Regards,
>>> Josef
>>>
>>> On 13 May 2012 22:31, Oliver Buchtala
>>>  wrote:
>>>>
>>>> Hello Josef,
>>>>
>>>> you might also want to have a look at my control flow analyzer module
>>>> which
>>>> I use to evolve the specification of my V8 module:
>>>> https://github.com/oliver----/swig-v8
(branch: analyzer).
>>>> Have also a look at:
>>>>
>>>> https://github.com/oliver----/swig-v8/blob/devel/Doc/Devel/Javascript/V8_CodeGeneratorSpecification.md#control-flow-analysis
>>>>
>>>> Cheers,
>>>> Oliver
>>>>
>>>>
>>>> On 12.05.2012 10:22, Josef Pacula wrote:
>>>>
>>>> Hello,
>>>> this is great! Thanks for that;). I will report on any progress.
>>>> Josef
>>>>
>>>>
>>>>
>>

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
 
CD: 4ms