ObjFW  Check-in [26a6fdf806]

Overview
Comment:Forgot to remove old workaround for a warning in OFConstString.h.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 26a6fdf80670c74062c8f39132b468d8b31a5eae3bf55bc93f6aa1850aeb079b
User & Date: js on 2009-04-10 01:40:23
Other Links: manifest | tags
Context
2009-04-12
14:05
Add OFNotImplementedException. check-in: ca4a07a578 user: js tags: trunk
2009-04-10
01:40
Forgot to remove old workaround for a warning in OFConstString.h. check-in: 26a6fdf806 user: js tags: trunk
01:12
-Wall was added too early to (OBJ)CFLAGS. check-in: 2477baa59a user: js tags: trunk
Changes

Modified src/OFConstString.h from [e717b6350a] to [5ebc134608].

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
/*
 * Copyright (c) 2008 - 2009
 *   Jonathan Schleifer <js@webkeks.org>
 *
 * All rights reserved.
 *
 * This file is part of libobjfw. It may be distributed under the terms of the
 * Q Public License 1.0, which can be found in the file LICENSE included in
 * the packaging of this file.
 */

#import "OFObject.h"

#if !defined(__objc_INCLUDE_GNU) && !defined(OFCONSTSTRING_M)
/*
 * This way, projects using libobjfw don't need -Wno-deprecated-declarations on
 * OS X 10.5.
 */
extern void _OFConstStringClassReference;
#endif

/**
 * A class for storing static strings using the @"" literal.
 */
@interface OFConstString: Object <OFHashable, OFRetainRelease>
{













|
<
<
<
<
|







1
2
3
4
5
6
7
8
9
10
11
12
13
14




15
16
17
18
19
20
21
22
/*
 * Copyright (c) 2008 - 2009
 *   Jonathan Schleifer <js@webkeks.org>
 *
 * All rights reserved.
 *
 * This file is part of libobjfw. It may be distributed under the terms of the
 * Q Public License 1.0, which can be found in the file LICENSE included in
 * the packaging of this file.
 */

#import "OFObject.h"

#ifndef __objc_INCLUDE_GNU




extern void *_OFConstStringClassReference;
#endif

/**
 * A class for storing static strings using the @"" literal.
 */
@interface OFConstString: Object <OFHashable, OFRetainRelease>
{

Modified src/OFConstString.m from [3998302843] to [979d9dc589].

11
12
13
14
15
16
17
18
19
20
21
22
23
24
25

#import "config.h"

#include <stdio.h>
#include <stdlib.h>
#include <string.h>

#define OFCONSTSTRING_M
#import "OFConstString.h"
#import "OFString.h"
#import "OFExceptions.h"
#import "OFMacros.h"

#ifndef __objc_INCLUDE_GNU
void *_OFConstStringClassReference;







<







11
12
13
14
15
16
17

18
19
20
21
22
23
24

#import "config.h"

#include <stdio.h>
#include <stdlib.h>
#include <string.h>


#import "OFConstString.h"
#import "OFString.h"
#import "OFExceptions.h"
#import "OFMacros.h"

#ifndef __objc_INCLUDE_GNU
void *_OFConstStringClassReference;