Example #1
0
 public override void WriteMarshaledTypeForwardDeclaration(CppCodeWriter writer)
 {
     if (!base._typeRef.IsSystemObject())
     {
         writer.AddForwardDeclaration($"struct {this._interfaceTypeName}");
     }
 }
 public override void WriteMarshaledTypeForwardDeclaration(CppCodeWriter writer)
 {
     if (!Extensions.IsSystemObject(base._typeRef))
     {
         writer.AddForwardDeclaration(string.Format("struct {0}", this._interfaceTypeName));
     }
 }
Example #3
0
 public virtual void WriteMarshaledTypeForwardDeclaration(CppCodeWriter writer)
 {
     if (!this._typeRef.IsEnum() && !this._typeRef.IsSystemObject())
     {
         foreach (MarshaledType type in this.MarshaledTypes)
         {
             writer.AddForwardDeclaration($"struct {type.Name}");
         }
     }
 }
 public override void WriteMarshaledTypeForwardDeclaration(CppCodeWriter writer)
 {
     writer.AddForwardDeclaration(base._typeRef);
 }