[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyKDE] Docstrings in sip (?)
From:       Phil Thompson <phil () river-bank ! demon ! co ! uk>
Date:       2002-07-28 10:52:31
[Download RAW message or body]

Donovan Rebbechi wrote:

> Is it possible to get sip to embed docstrings for functions ? That is, I'd
> like a string literal in place of the NULL. Of course I could 'sed' away
> at the generated code, but I'd rather avoid such brittle hackery if sip
> already supports what I'm trying to do. (Also, is it possible to override
> METH_VARARGS ?)
> 
>   static PyMethodDef globfuncs[] = {
>    ...
>         {sipName_RUMBA_bind, sipDo_bind, METH_VARARGS, NULL},
>                                                        ^^^^
>    ...
>    ,
>    { NULL }
>   };


No and no I'm afraid.

Phil

_______________________________________________
PyKDE mailing list    PyKDE@mats.gmd.de
http://mats.gmd.de/mailman/listinfo/pykde
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic