develooper Front page | perl.perl6.internals | Postings from July 2002

[PATCH] auto-document pmc files

From:
Alberto Manuel Brandão Simões
Date:
July 16, 2002 00:04
Subject:
[PATCH] auto-document pmc files
Message ID:
1026802833.655.37.camel@scriptorium

My suggestion is to add on vtable.tbl comment like

void set_integer_native(INTVAL value)  # example: set P0, I0
void set_number_native(FLOATVAL value)  # example: set P0, N0

and so on. Of course the content of the comment can be more descritive.
Then, I changed parse_vtable and genclass.pl to create comments with this
just before each pmclass method.

I send the patch in attatchment.

Alberto

-- 
Alberto Manuel B. Simoes
Departamento de Informática - Universidade do Minho
http://alfarrabio.di.uminho.pt/~albie - http://numexp.sf.net



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About