]> git.decadent.org.uk Git - ion3.git/blob - ioncore/return.h
a88bac58dc9ef4d338f15c450a4dff0452d65f62
[ion3.git] / ioncore / return.h
1 /*
2  * ion/ioncore/return.h
3  *
4  * Copyright (c) Tuomo Valkonen 1999-2008. 
5  *
6  * See the included file LICENSE for details.
7  */
8
9 #ifndef ION_IONCORE_RETURN_H
10 #define ION_IONCORE_RETURN_H
11
12 #include "region.h"
13 #include "pholder.h"
14
15 /* Note: 'ph' is under the control of this 'return' module after succesfully
16  * (true return value) having been passed to this function and must no 
17  * longer be destroyed by other code unless removed with unset_get.
18  */
19 extern bool region_do_set_return(WRegion *reg, WPHolder *ph);
20
21 /*extern WPHolder *region_set_return(WRegion *reg);*/
22
23 extern WPHolder *region_get_return(WRegion *reg);
24
25 extern void region_unset_return(WRegion *reg);
26
27 extern WPHolder *region_unset_get_return(WRegion *reg);
28
29 extern WPHolder *region_make_return_pholder(WRegion *reg);
30
31 #endif /* ION_IONCORE_RETURN_H */