X-Git-Url: https://git.decadent.org.uk/gitweb/?p=ion3.git;a=blobdiff_plain;f=ioncore%2Freturn.c;h=ffc108375900b6880061f2523eef8b2402627814;hp=092483c7fd999b556f494041dbf24397a682e4e2;hb=HEAD;hpb=ae4260bb64817c11f9a7140324cd3e3ba113e297 diff --git a/ioncore/return.c b/ioncore/return.c index 092483c..ffc1083 100644 --- a/ioncore/return.c +++ b/ioncore/return.c @@ -1,7 +1,7 @@ /* * ion/ioncore/return.h * - * Copyright (c) Tuomo Valkonen 1999-2007. + * Copyright (c) Tuomo Valkonen 1999-2009. * * See the included file LICENSE for details. */ @@ -155,3 +155,18 @@ void region_unset_return(WRegion *reg) /*}}}*/ + +/*{{{ Internal Lua exports */ + + +EXTL_SAFE +EXTL_EXPORT_MEMBER +WRegion *region___return_target(WRegion *reg) +{ + WPHolder *ph=region_get_return(reg); + return (ph!=NULL ? pholder_target(ph) : NULL); +} + + +/*}}}*/ +