예제 #1
0
        void CreateTypedefObjectForClass(Class @class)
        {
            var typedef = new TypedefDecl
            {
                Name          = CGenerator.QualifiedName(@class),
                Namespace     = TranslationUnit,
                QualifiedType = new QualifiedType(new TagType(MonoEmbedObject))
            };

            Typedefs.Add(typedef);
        }