Artifact d3b39888a788734e0d53a32ae9aa83d23fa2d7be7eb8f0c8ce86acc8073126ee:
- File
src/OFThread+Private.h
— part of check-in
[2aca549d60]
at
2015-11-29 14:23:09
on branch trunk
— Clean up class extensions
Now that we can require GCC >= 4.6, we no longer need to fall back to
using a category on old compilers. (user: js, size: 728) [annotate] [blame] [check-ins using]
/* * Copyright (c) 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015 * Jonathan Schleifer <js@webkeks.org> * * All rights reserved. * * This file is part of ObjFW. It may be distributed under the terms of the * Q Public License 1.0, which can be found in the file LICENSE.QPL included in * the packaging of this file. * * Alternatively, it may be distributed under the terms of the GNU General * Public License, either version 2 or 3, which can be found in the file * LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this * file. */ #import "OFThread.h" OF_ASSUME_NONNULL_BEGIN #ifdef OF_HAVE_THREADS @interface OFThread () + (void)OF_createMainThread; @end #endif OF_ASSUME_NONNULL_END