@@ -16,6 +16,7 @@ import dmd.astenums;
1616import dmd.attrib;
1717import dmd.common.outbuffer : OutBuffer ;
1818import dmd.dclass : ClassDeclaration;
19+ import dmd.declaration : TypeInfoDeclaration;
1920import dmd.denum : EnumDeclaration;
2021import dmd.dmodule /* : Module*/ ;
2122import dmd.dscope : Scope;
@@ -277,6 +278,19 @@ bool fill(StructDeclaration sd, Loc loc,
277278 return dmd.expressionsem.fill(sd, loc, elements, ctorinit);
278279}
279280
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+
280294/* **********************************************************
281295 * funcsem.d
282296 */
@@ -720,6 +734,18 @@ bool builtinTypeInfo(Type t)
720734 return dmd.typinf.builtinTypeInfo(t);
721735}
722736
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+
723749version (IN_LLVM)
724750{
725751 /* **********************************************************
0 commit comments