#1996: Function Parrot_ext_try for extenders
--------------------------+-------------------------------------------------
 Reporter:  NotFound      |       Owner:  whiteknight
     Type:  experimental  |      Status:  new        
 Priority:  normal        |   Milestone:             
Component:  embed/extend  |     Version:  3.0.0      
 Severity:  medium        |    Keywords:             
     Lang:                |       Patch:             
 Platform:                |  
--------------------------+-------------------------------------------------
 I'm going to add the experimental function Parrot_ext_try, to help
 handling exceptions from extension code.

 It takes as parameters an interpreter a function to call, a handler
 function and a pointer for data.

 The main function is called with the interpreter and the data.

 The handler function, if not null, is called if an exception is thrown
 during the main call, passing to it the interpreter, the exception and the
 data.

 The data pointer is opaque, the caller and the functions used can use it
 for any purpose.

-- 
Ticket URL: <https://trac.parrot.org/parrot/ticket/1996>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets

Reply via email to