This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r168231 - in /trunk: gcc/testsuite/ChangeLog gc...
- From: nicola at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Fri, 24 Dec 2010 20:10:46 -0000
- Subject: r168231 - in /trunk: gcc/testsuite/ChangeLog gc...
Author: nicola
Date: Fri Dec 24 20:10:46 2010
New Revision: 168231
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=168231
Log:
In libobjc/:
2010-12-24 Nicola Pero <nicola.pero@meta-innovation.com>
* selector.c (sel_getTypedSelector): Return NULL if given a NULL
argument.
(sel_registerTypedName): Same.
(sel_registerName): Same.
* objc/runtime.h: Updated documentation.
In gcc/testsuite/:
2010-12-24 Nicola Pero <nicola.pero@meta-innovation.com>
* objc.dg/gnu-api-2-sel.m: Test calling sel_getUid,
sel_registerName and sel_registerTypedName with NULL arguments.
Updated the test to work with the Apple runtime as well.
* obj-c++.dg/gnu-api-2-sel.mm: Same change.
Modified:
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/obj-c++.dg/gnu-api-2-sel.mm
trunk/gcc/testsuite/objc.dg/gnu-api-2-sel.m
trunk/libobjc/ChangeLog
trunk/libobjc/objc/runtime.h
trunk/libobjc/selector.c