Sha256: d3b26706bef0e3af81f3c55a2e0dee07de9a0346c377aefa4f580f9b1a40c850
Contents?: true
Size: 1.37 KB
Versions: 40
Compression:
Stored size: 1.37 KB
Contents
/* Lasem * * Copyright © 2007-2012 Emmanuel Pacaud * * 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 * Lesser 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., 59 Temple Place, Suite 330, * Boston, MA 02111-1307, USA. * * Author: * Emmanuel Pacaud <emmanuel@gnome.org> */ #include <lsmutils.h> static LsmExtents * lsm_extents_duplicate (const LsmExtents *from) { LsmExtents *extents; g_return_val_if_fail (from != NULL, NULL); extents = g_new (LsmExtents, 1); *extents = *from; return extents; } G_DEFINE_BOXED_TYPE (LsmExtents, lsm_extents, lsm_extents_duplicate, g_free) static LsmBox * lsm_box_duplicate (const LsmBox *from) { LsmBox *box; g_return_val_if_fail (from != NULL, NULL); box = g_new (LsmBox, 1); *box = *from; return box; } G_DEFINE_BOXED_TYPE (LsmBox, lsm_box, lsm_box_duplicate, g_free)
Version data entries
40 entries across 40 versions & 1 rubygems