Commit f9173eb2 authored by Jacob Potter's avatar Jacob Potter

Fix objc-extended records

parent d5dd5294
// AUTOGENERATED FILE - DO NOT MODIFY!
// This file generated by Djinni from example.djinni
#import "TXSItemList.h"
#import "TXSSortOrder.h"
#import <Foundation/Foundation.h>
@class TXSItemList;
@class TXSSortItems;
@protocol TXSTextboxListener;
......
// AUTOGENERATED FILE - DO NOT MODIFY!
// This file generated by Djinni from example.djinni
#import "TXSItemList.h"
#import <Foundation/Foundation.h>
@class TXSItemList;
@protocol TXSTextboxListener
......
......@@ -57,7 +57,8 @@ class ObjcGenerator(spec: Spec) extends Generator(spec) {
case DRecord =>
val r = d.body.asInstanceOf[Record]
val prefix = if (r.ext.objc) "../" else ""
header.add("#import " + q(spec.objcIncludePrefix + prefix + headerName(d.name)))
header.add("@class " + marshal.typename(tm) + ";")
body.add("#import " + q(spec.objcIncludePrefix + prefix + headerName(d.name)))
}
case p: MParam =>
}
......
// AUTOGENERATED FILE - DO NOT MODIFY!
// This file generated by Djinni from client_interface.djinni
#import "DBClientReturnedRecord.h"
#import <Foundation/Foundation.h>
@class DBClientReturnedRecord;
@protocol DBClientInterface
......
// AUTOGENERATED FILE - DO NOT MODIFY!
// This file generated by Djinni from constants.djinni
#import "DBConstants.h"
#import <Foundation/Foundation.h>
@class DBConstants;
@interface DBConstants : NSObject
- (id)initWithConstants:(DBConstants *)constants;
......
// AUTOGENERATED FILE - DO NOT MODIFY!
// This file generated by Djinni from constants.djinni
#import "DBConstants.h"
#import "DBConstants.h"
#pragma clang diagnostic push
......
// AUTOGENERATED FILE - DO NOT MODIFY!
// This file generated by Djinni from derivings.djinni
#import "DBRecordWithDerivings.h"
#import <Foundation/Foundation.h>
@class DBRecordWithDerivings;
@interface DBRecordWithNestedDerivings : NSObject
- (id)initWithRecordWithNestedDerivings:(DBRecordWithNestedDerivings *)recordWithNestedDerivings;
......
......@@ -2,6 +2,7 @@
// This file generated by Djinni from derivings.djinni
#import "DBRecordWithNestedDerivings.h"
#import "DBRecordWithDerivings.h"
@implementation DBRecordWithNestedDerivings
......
// AUTOGENERATED FILE - DO NOT MODIFY!
// This file generated by Djinni from test.djinni
#import "DBAssortedIntegers.h"
#import "DBColor.h"
#import "DBMapListRecord.h"
#import "DBNestedCollection.h"
#import "DBPrimitiveList.h"
#import "DBSetRecord.h"
#import <Foundation/Foundation.h>
@class DBAssortedIntegers;
@class DBMapListRecord;
@class DBNestedCollection;
@class DBPrimitiveList;
@class DBSetRecord;
@class DBToken;
@protocol DBClientInterface;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment