Re: Generation of documentation
| From: | Brad House | Date: | Mon, 21 Oct 2002 12:43:30 +0000 |
| Subject: | Re: Generation of documentation | ||
| References: | 1 2 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969349195@lists.php.net to get a copy of this message | ||
Nevermind on this ... I wrote a quick C program to do this
for me. I've attached it for anyone else that wants it....
Just:
gcc -Wall -O3 -o xml_proto xml_proto.c
Then pass the php extension.c file to the new program,
and it will spit out a crapload of files based on
the protos. Worked for me.
-Brad
Gabor Hojtsy wrote:
>>Is there a script available to generate the necessary base .xml
>>files by reading the proto definitions of an extension?
>>It appears as though there must/might be. If so, I need to
>>run it on the mcve extension. If not, please let me know
>>too, so I can get started on the long way around.
>
>
> Well, I don't know of such a script. There are skeletons in the howto,
> but those are not up to date, so please see an extension's current
> documentation and start from that. I'll update the howto this week,
> if noone does it before me.
>
> Goba
>