@@ -16,6 +16,7 @@ import dmd.astenums;
16
16
import dmd.attrib;
17
17
import dmd.common.outbuffer : OutBuffer ;
18
18
import dmd.dclass : ClassDeclaration;
19
+ import dmd.declaration : TypeInfoDeclaration;
19
20
import dmd.denum : EnumDeclaration;
20
21
import dmd.dmodule /* : Module*/ ;
21
22
import dmd.dscope : Scope;
@@ -277,6 +278,19 @@ bool fill(StructDeclaration sd, Loc loc,
277
278
return dmd.expressionsem.fill(sd, loc, elements, ctorinit);
278
279
}
279
280
281
+ /* **********************************************************
282
+ * func.d
283
+ */
284
+ FuncDeclaration genCfunc (Parameters* fparams, Type treturn, const (char )* name, StorageClass stc = STC .none)
285
+ {
286
+ return FuncDeclaration.genCfunc(fparams, treturn, name, cast (STC ) stc);
287
+ }
288
+
289
+ FuncDeclaration genCfunc (Parameters* fparams, Type treturn, Identifier id, StorageClass stc = STC .none)
290
+ {
291
+ return FuncDeclaration.genCfunc(fparams, treturn, id, cast (STC ) stc);
292
+ }
293
+
280
294
/* **********************************************************
281
295
* funcsem.d
282
296
*/
@@ -720,6 +734,18 @@ bool builtinTypeInfo(Type t)
720
734
return dmd.typinf.builtinTypeInfo(t);
721
735
}
722
736
737
+ Type makeNakedAssociativeArray (TypeAArray t)
738
+ {
739
+ import dmd.typinf;
740
+ return dmd.typinf.makeNakedAssociativeArray(t);
741
+ }
742
+
743
+ TypeInfoDeclaration getTypeInfoAssocArrayDeclaration (TypeAArray t, Scope* sc)
744
+ {
745
+ import dmd.typinf;
746
+ return dmd.typinf.getTypeInfoAssocArrayDeclaration(t, sc);
747
+ }
748
+
723
749
version (IN_LLVM)
724
750
{
725
751
/* **********************************************************
0 commit comments