ObjFW  Diff

Differences From Artifact [cbd9a32b8b]:

  • File src/OFURL.m — part of check-in [d9eb7b50b3] at 2017-01-07 00:37:26 on branch trunk — Add of_ascii_{to{upper,lower},is{alpha,alnum}}

    These are independent of the locale and work on the ASCII character set.

    Unlike the C ones, these are 8-bit safe, meaning if a character > 0x7F
    is passed, is{alpha,alnum} returns false and to{upper,lower} returns the
    original character. (user: js, size: 9968) [annotate] [blame] [check-ins using]

To Artifact [8108588b31]:


1
2
3
4
5
6
7
8
9
/*
 * Copyright (c) 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016
 *   Jonathan Schleifer <js@heap.zone>
 *
 * 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.

|







1
2
3
4
5
6
7
8
9
/*
 * Copyright (c) 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017
 *   Jonathan Schleifer <js@heap.zone>
 *
 * 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.