X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;ds=inline;f=ioncore%2Freturn.c;h=9ebabc522d70c3638dd8d052373251ecc5d13c4f;hb=3a5221140c3d59e7e964f9766f490e688a41ef4c;hp=092483c7fd999b556f494041dbf24397a682e4e2;hpb=d2a43a53786878c1273313249d3b49f6cd559b00;p=ion3.git diff --git a/ioncore/return.c b/ioncore/return.c index 092483c..9ebabc5 100644 --- a/ioncore/return.c +++ b/ioncore/return.c @@ -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); +} + + +/*}}}*/ +