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

[PROPOSAL] interface for custom pmc functions

Thread Next
Josef Hook
August 22, 2002 05:59
[PROPOSAL] interface for custom pmc functions
Message ID:

It's a fact that we have a problem with pmc's that has custom functions
which dosent fit into the vtable. Therefore i suggest we add a pointer in
pmc struct that points to a function list, Also adding 3
functions to vtable struct that manipulates this list. 

register_function( PMC *p, void *function_ptr ) 
unregister_function( PMC *p, "function name" )
replace_function( PMC *p, "function name" )

Having it this way it will be possible to replace functions when loading 
libraries.What do you think Dan?


Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About