mirror of
https://github.com/Gericom/teak-llvm.git
synced 2025-06-25 06:18:56 -04:00

This is the conclusion of an effort to get LLDB's Python code structured into a bona-fide Python package. This has a number of benefits, but most notably the ability to more easily share Python code between different but related pieces of LLDB's Python infrastructure (for example, `scripts` can now share code with `test`). llvm-svn: 251532
32 lines
381 B
Objective-C
32 lines
381 B
Objective-C
#import "InternalDefiner.h"
|
|
|
|
@interface InternalDefiner () {
|
|
uintptr_t bar;
|
|
}
|
|
|
|
@end
|
|
|
|
@implementation InternalDefiner
|
|
|
|
-(id)init
|
|
{
|
|
if (self = [super init])
|
|
{
|
|
foo = 2;
|
|
bar = 3;
|
|
}
|
|
return self;
|
|
}
|
|
|
|
-(id)initWithFoo:(uintptr_t)f andBar:(uintptr_t)b
|
|
{
|
|
if (self = [super init])
|
|
{
|
|
foo = f;
|
|
bar = b;
|
|
}
|
|
return self;
|
|
}
|
|
|
|
@end
|