ObjFW  Diff

Differences From Artifact [536f7c35b9]:

  • File src/OFBlock.m — part of check-in [3c3467423a] at 2015-08-23 10:34:19 on branch trunk — OFBlock: Fix two bugs

    The first was that _Block_object_{assign,dispose} would only be a NOP
    when called from a byref helper instead of only being a NOP when called
    for an object from a byref helper.

    The second was that byref helpers would even be called when there are no
    byref helpers (bit 25 in the byref flags needs to be checked -
    conveniently, bit 25 indicates copy/dispose helpers in the block literal
    flags, too, so that define can be reused). (user: js, size: 11213) [annotate] [blame] [check-ins using] [more...]

To Artifact [cbcd129d92]:


1
2
3
4
5
6
7
8
9
10
/*
 * 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.
 *

|
|







1
2
3
4
5
6
7
8
9
10
/*
 * 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.
 *