From b7b9dc63d1deb9ccef38597d4ebbfbd4152c2030 Mon Sep 17 00:00:00 2001 From: heck Date: Thu, 15 Jun 2023 22:26:43 +0200 Subject: [PATCH] ig-c99: remove extracted idl-api test --- lm-c99/ig-c99.ysl2 | 52 +--------------------------------------------- 1 file changed, 1 insertion(+), 51 deletions(-) diff --git a/lm-c99/ig-c99.ysl2 b/lm-c99/ig-c99.ysl2 index 211341c..323a56c 100644 --- a/lm-c99/ig-c99.ysl2 +++ b/lm-c99/ig-c99.ysl2 @@ -8,9 +8,6 @@ tstylesheet { include standardlib.ysl2 include idl_api.ysl2 - - - // ---------------------------------------------------------------------- // IG-C99 // ---------------------------------------------------------------------- @@ -102,52 +99,6 @@ tstylesheet { } - // TYPE-TESTING - template "test-types" document "ig-c99/test_types.h", "text" { - || - // basetypes - «func:typeinfo('string')» - «func:typeinfo('binary')» - «func:typeinfo('int')» - «func:typeinfo('uint')» - «func:typeinfo('size')» - «func:typeinfo('bool')» - «func:typeinfo('opaque')» - // deftype basetype - «func:typeinfo('deftype1')» - «func:typeinfo('deftype2')» - // deftype generic - «func:typeinfo('stringlist')» - // enum - «func:typeinfo('enum1')» - // struct - «func:typeinfo('struct1')» - // undefined - «func:typeinfo('undefined')» - || - } - - def "func:typeinfo" { - param "idltype"; - result call "typeinfo" with "idltype", "$idltype"; - }; - - function "typeinfo" { - param "idltype"; - || - idltype: «$idltype» - idl_type_is_defined: «func:idl_type_is_defined($idltype)» - idl_type_get_typekind_of_type: «func:idl_type_get_typekind_of_type($idltype)» - idl_type_get_resolved_typekind: «func:idl_type_get_resolved_typekind($idltype)» - idl_type_get_resolved_type: «func:idl_type_get_resolved_type($idltype)» - idl_type_is_of_typekind_basetype: «func:idl_type_is_of_typekind_basetype($idltype)» - idl_type_is_of_typekind_deftype: «func:idl_type_is_of_typekind_deftype($idltype)» - idl_type_is_of_typekind_enum: «func:idl_type_is_of_typekind_enum($idltype)» - idl_type_is_of_typekind_struct: «func:idl_type_is_of_typekind_struct($idltype)» - || - } - - // TYPEALIAS // --------- @@ -224,7 +175,6 @@ tstylesheet { result "yml:ucase(concat($pkg_name, '_', $name))"; } - template "enum" { const "idl_name", "@name"; const "pkg_name", "../../@name"; @@ -310,6 +260,7 @@ tstylesheet { result "'sfd'"; } + // DOC // --- @@ -340,6 +291,5 @@ tstylesheet { } } } - }