From 27624dddbd433ab62f10a25721b3f4710db8da66 Mon Sep 17 00:00:00 2001 From: Edouard Tisserant Date: Thu, 16 Jun 2016 13:39:17 +0200 Subject: [PATCH] Engine's methods creating identities now use from_identity --- src/gen_cpp_Engine.ysl2 | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/gen_cpp_Engine.ysl2 b/src/gen_cpp_Engine.ysl2 index 0e9a939..85a1360 100644 --- a/src/gen_cpp_Engine.ysl2 +++ b/src/gen_cpp_Engine.ysl2 @@ -152,6 +152,14 @@ tstylesheet { || + when "$type = 'identity'" + || + jobject «$name»_ = NULL; + if (_«$retname») + «$name»_ = from_identity(env, _«$retname»); + + || + when "ancestor::namespace/child::enum[@name=$jtype]" { const "ljtype" call "lcase" with "text","$jtype"; ||