X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=ioncore%2Freturn.c;h=be2d367b5744928cd5e905bd866303b7a4295397;hb=0e823ba752af388ba5ca99800d094f88a11290db;hp=092483c7fd999b556f494041dbf24397a682e4e2;hpb=ae4260bb64817c11f9a7140324cd3e3ba113e297;p=ion3.git diff --git a/ioncore/return.c b/ioncore/return.c index 092483c..be2d367 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-2008. * * 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); +} + + +/*}}}*/ +