Commit f9173eb2 authored by Jacob Potter's avatar Jacob Potter

Fix objc-extended records

parent d5dd5294
// AUTOGENERATED FILE - DO NOT MODIFY! // AUTOGENERATED FILE - DO NOT MODIFY!
// This file generated by Djinni from example.djinni // This file generated by Djinni from example.djinni
#import "TXSItemList.h"
#import "TXSSortOrder.h" #import "TXSSortOrder.h"
#import <Foundation/Foundation.h> #import <Foundation/Foundation.h>
@class TXSItemList;
@class TXSSortItems; @class TXSSortItems;
@protocol TXSTextboxListener; @protocol TXSTextboxListener;
......
// AUTOGENERATED FILE - DO NOT MODIFY! // AUTOGENERATED FILE - DO NOT MODIFY!
// This file generated by Djinni from example.djinni // This file generated by Djinni from example.djinni
#import "TXSItemList.h"
#import <Foundation/Foundation.h> #import <Foundation/Foundation.h>
@class TXSItemList;
@protocol TXSTextboxListener @protocol TXSTextboxListener
......
...@@ -57,7 +57,8 @@ class ObjcGenerator(spec: Spec) extends Generator(spec) { ...@@ -57,7 +57,8 @@ class ObjcGenerator(spec: Spec) extends Generator(spec) {
case DRecord => case DRecord =>
val r = d.body.asInstanceOf[Record] val r = d.body.asInstanceOf[Record]
val prefix = if (r.ext.objc) "../" else "" 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 => case p: MParam =>
} }
......
// AUTOGENERATED FILE - DO NOT MODIFY! // AUTOGENERATED FILE - DO NOT MODIFY!
// This file generated by Djinni from client_interface.djinni // This file generated by Djinni from client_interface.djinni
#import "DBClientReturnedRecord.h"
#import <Foundation/Foundation.h> #import <Foundation/Foundation.h>
@class DBClientReturnedRecord;
@protocol DBClientInterface @protocol DBClientInterface
......
// AUTOGENERATED FILE - DO NOT MODIFY! // AUTOGENERATED FILE - DO NOT MODIFY!
// This file generated by Djinni from constants.djinni // This file generated by Djinni from constants.djinni
#import "DBConstants.h"
#import <Foundation/Foundation.h> #import <Foundation/Foundation.h>
@class DBConstants;
@interface DBConstants : NSObject @interface DBConstants : NSObject
- (id)initWithConstants:(DBConstants *)constants; - (id)initWithConstants:(DBConstants *)constants;
......
// AUTOGENERATED FILE - DO NOT MODIFY! // AUTOGENERATED FILE - DO NOT MODIFY!
// This file generated by Djinni from constants.djinni // This file generated by Djinni from constants.djinni
#import "DBConstants.h"
#import "DBConstants.h" #import "DBConstants.h"
#pragma clang diagnostic push #pragma clang diagnostic push
......
// AUTOGENERATED FILE - DO NOT MODIFY! // AUTOGENERATED FILE - DO NOT MODIFY!
// This file generated by Djinni from derivings.djinni // This file generated by Djinni from derivings.djinni
#import "DBRecordWithDerivings.h"
#import <Foundation/Foundation.h> #import <Foundation/Foundation.h>
@class DBRecordWithDerivings;
@interface DBRecordWithNestedDerivings : NSObject @interface DBRecordWithNestedDerivings : NSObject
- (id)initWithRecordWithNestedDerivings:(DBRecordWithNestedDerivings *)recordWithNestedDerivings; - (id)initWithRecordWithNestedDerivings:(DBRecordWithNestedDerivings *)recordWithNestedDerivings;
......
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
// This file generated by Djinni from derivings.djinni // This file generated by Djinni from derivings.djinni
#import "DBRecordWithNestedDerivings.h" #import "DBRecordWithNestedDerivings.h"
#import "DBRecordWithDerivings.h"
@implementation DBRecordWithNestedDerivings @implementation DBRecordWithNestedDerivings
......
// AUTOGENERATED FILE - DO NOT MODIFY! // AUTOGENERATED FILE - DO NOT MODIFY!
// This file generated by Djinni from test.djinni // This file generated by Djinni from test.djinni
#import "DBAssortedIntegers.h"
#import "DBColor.h" #import "DBColor.h"
#import "DBMapListRecord.h"
#import "DBNestedCollection.h"
#import "DBPrimitiveList.h"
#import "DBSetRecord.h"
#import <Foundation/Foundation.h> #import <Foundation/Foundation.h>
@class DBAssortedIntegers;
@class DBMapListRecord;
@class DBNestedCollection;
@class DBPrimitiveList;
@class DBSetRecord;
@class DBToken; @class DBToken;
@protocol DBClientInterface; @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