Mac: Fixed const errors
parent
cc60577fd5
commit
e5568db7b3
|
@ -14,7 +14,7 @@
|
|||
#import "NSString_ObjCPlusPlus.h"
|
||||
|
||||
@implementation CelestiaStar(PrivateAPI)
|
||||
-(CelestiaStar*)initWithStar:(Star*)s
|
||||
-(CelestiaStar*)initWithStar:(const Star*)s
|
||||
{
|
||||
self = [super init];
|
||||
_data = [[NSValue alloc] initWithBytes:reinterpret_cast<void*>(&s) objCType:@encode(Star*)];
|
||||
|
|
|
@ -9,6 +9,6 @@
|
|||
|
||||
#include <celengine/star.h>
|
||||
@interface CelestiaStar(PrivateAPI)
|
||||
-(CelestiaStar*)initWithStar:(Star*)s;
|
||||
-(CelestiaStar*)initWithStar:(const Star*)s;
|
||||
-(Star*)star;
|
||||
@end
|
||||
|
|
Loading…
Reference in New Issue