diff --git a/ChangeLog b/ChangeLog index 5d2487072..050326a97 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2011-05-31 Niels Grewe + + * Source/NSCallBacks.h: Adjust callback prototypes to use + NSUInteger. + 2011-05-31 Richard Frith-Macdonald * Headers/GNUstepBase/GNUstep.h: diff --git a/Source/NSCallBacks.h b/Source/NSCallBacks.h index 55268c88c..159e4cd07 100644 --- a/Source/NSCallBacks.h +++ b/Source/NSCallBacks.h @@ -1,28 +1,28 @@ /* GNUStep callback functions prototypes. * Copyright(C) 1996 Free Software Foundation, Inc. - * + * * Author: Albin L. Jones * Created: Tue Feb 13 23:10:29 EST 1996 * Updated: Tue Feb 13 23:10:29 EST 1996 * Updated: Mon Feb 7 10:25:00 GMT 2000 * Serial: 96.02.13.01 - * + * * This file is part of the GNUstep Base Library. - * + * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2 of the License, or(at your option) any later version. - * + * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Library General Public License for more details. - * + * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - * Boston, MA 02111 USA. */ + * Boston, MA 02111 USA. */ #ifndef __NSCallBacks_h_OBJECTS_INCLUDE #define __NSCallBacks_h_OBJECTS_INCLUDE 1 @@ -47,7 +47,7 @@ /** For `int's **/ -unsigned int _NS_int_hash(void *table, void* i) GS_HIDDEN; +NSUInteger _NS_int_hash(void *table, void* i) GS_HIDDEN; BOOL _NS_int_is_equal(void *table, void* i, void* j) GS_HIDDEN; void _NS_int_retain(void *table, void* i) GS_HIDDEN; void _NS_int_release(void *table, void* i) GS_HIDDEN; @@ -55,14 +55,14 @@ NSString *_NS_int_describe(void *table, void* i) GS_HIDDEN; /** For owned `void *' **/ -unsigned int _NS_owned_void_p_hash(void *table, void *p) GS_HIDDEN; +NSUInteger _NS_owned_void_p_hash(void *table, void *p) GS_HIDDEN; BOOL _NS_owned_void_p_is_equal(void *table, void *p, void *q) GS_HIDDEN; void _NS_owned_void_p_retain(void *table, void *p) GS_HIDDEN; void _NS_owned_void_p_release(void *table, void *p) GS_HIDDEN; NSString *_NS_owned_void_p_describe(void *table, void *p) GS_HIDDEN; /** For non-retained Objective-C objects **/ -unsigned int _NS_non_retained_id_hash(void *table, id o) GS_HIDDEN; +NSUInteger _NS_non_retained_id_hash(void *table, id o) GS_HIDDEN; BOOL _NS_non_retained_id_is_equal(void *table, id o, id p) GS_HIDDEN; void _NS_non_retained_id_retain(void *table, id o) GS_HIDDEN; @@ -70,21 +70,21 @@ void _NS_non_retained_id_release(void *table, id o) GS_HIDDEN; NSString *_NS_non_retained_id_describe(void *table, id o) GS_HIDDEN; /** For(retainable) objects **/ -unsigned int _NS_id_hash(void *table, id o) GS_HIDDEN; +NSUInteger _NS_id_hash(void *table, id o) GS_HIDDEN; BOOL _NS_id_is_equal(void *table, id o, id p) GS_HIDDEN; void _NS_id_retain(void *table, id o) GS_HIDDEN; void _NS_id_release(void *table, id o) GS_HIDDEN; NSString *_NS_id_describe(void *table, id o) GS_HIDDEN; /** For(non-owned) `void *' **/ -unsigned int _NS_non_owned_void_p_hash(void *table, void *p) GS_HIDDEN; +NSUInteger _NS_non_owned_void_p_hash(void *table, void *p) GS_HIDDEN; BOOL _NS_non_owned_void_p_is_equal(void *table, void *p, void *q) GS_HIDDEN; void _NS_non_owned_void_p_retain(void *table, void *p) GS_HIDDEN; void _NS_non_owned_void_p_release(void *table, void *p) GS_HIDDEN; NSString *_NS_non_owned_void_p_describe(void *table, void *p) GS_HIDDEN; /** For pointers to structures and `int *' **/ -unsigned int _NS_int_p_hash(void *table, int *p) GS_HIDDEN; +NSUInteger _NS_int_p_hash(void *table, int *p) GS_HIDDEN; BOOL _NS_int_p_is_equal(void *table, int *p, int *q) GS_HIDDEN; void _NS_int_p_retain(void *table, int *p) GS_HIDDEN; void _NS_int_p_release(void *table, int *p) GS_HIDDEN;