/
JSTTests.h
66 lines (47 loc) · 1.31 KB
/
JSTTests.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
//
// JSTTests.h
// jstalk
//
// Created by August Mueller on 9/26/10.
// Copyright 2010 Flying Meat Inc. All rights reserved.
//
/*
This file is used by gen_bridge_metadata, and for some of our unit tests.
http://www.mail-archive.com/macruby-devel@lists.macosforge.org/msg01492.html
cd /builds/Debug/JSTalk.framework/Headers/
gen_bridge_metadata -F exceptions-template -c '-I.' JSTTests.h > exception.xml
gen_bridge_metadata -e ./exception.xml -f /builds/Debug/JSTalk.framework -o JSTalk.bridgesupport
*/
#import <Cocoa/Cocoa.h>
APPKIT_EXTERN const CGFloat JSTConstCGFloat;
APPKIT_EXTERN const float JSTConstFloat;
APPKIT_EXTERN const double JSTConstDouble;
struct JSTTestStruct {
BOOL b;
/*
float f;
double d;
int8_t i8;
uint8_t ui8;
int16_t i16;
uint16_t ui16;
int32_t i32;
uint32_t ui32;
int64_t i64;
uint64_t ui64;
struct JSTTestStruct *next;
*/
};
typedef struct JSTTestStruct JSTTestStruct;
@interface JSTTests : NSObject {
}
+ (JSTTestStruct)classTestStruct;
+ (NSRect)classTestNSRect;
/*
+ (BOOL)testClassBoolValue;
- (NSString*)testStringValue;
+ (NSString*)testClassStringValue;
- (NSString*)testAppendString:(NSString*)string;
- (NSString*)testClassAppendString:(NSString*)string;
*/
@end