Blame src/lzo_str.c

Packit 679830
/* lzo_str.c -- string functions for the the LZO library
Packit 679830
Packit 679830
   This file is part of the LZO real-time data compression library.
Packit 679830
Packit 679830
   Copyright (C) 1996-2014 Markus Franz Xaver Johannes Oberhumer
Packit 679830
   All Rights Reserved.
Packit 679830
Packit 679830
   The LZO library is free software; you can redistribute it and/or
Packit 679830
   modify it under the terms of the GNU General Public License as
Packit 679830
   published by the Free Software Foundation; either version 2 of
Packit 679830
   the License, or (at your option) any later version.
Packit 679830
Packit 679830
   The LZO library is distributed in the hope that it will be useful,
Packit 679830
   but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit 679830
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
Packit 679830
   GNU General Public License for more details.
Packit 679830
Packit 679830
   You should have received a copy of the GNU General Public License
Packit 679830
   along with the LZO library; see the file COPYING.
Packit 679830
   If not, write to the Free Software Foundation, Inc.,
Packit 679830
   51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
Packit 679830
Packit 679830
   Markus F.X.J. Oberhumer
Packit 679830
   <markus@oberhumer.com>
Packit 679830
   http://www.oberhumer.com/opensource/lzo/
Packit 679830
 */
Packit 679830
Packit 679830
Packit 679830
#include "lzo_conf.h"
Packit 679830
Packit 679830
#undef lzo_memcmp
Packit 679830
#undef lzo_memcpy
Packit 679830
#undef lzo_memmove
Packit 679830
#undef lzo_memset
Packit 679830
Packit 679830
Packit 679830
/***********************************************************************
Packit 679830
// slow but portable <string.h> stuff, only used in assertions
Packit 679830
************************************************************************/
Packit 679830
Packit 679830
#define lzo_hsize_t             lzo_uint
Packit 679830
#define lzo_hvoid_p             lzo_voidp
Packit 679830
#define lzo_hbyte_p             lzo_bytep
Packit 679830
#define LZOLIB_PUBLIC(r,f)      LZO_PUBLIC(r) f
Packit 679830
#ifndef __LZOLIB_FUNCNAME
Packit 679830
#define __LZOLIB_FUNCNAME(f)    f
Packit 679830
#endif
Packit 679830
#define lzo_hmemcmp             __LZOLIB_FUNCNAME(lzo_memcmp)
Packit 679830
#define lzo_hmemcpy             __LZOLIB_FUNCNAME(lzo_memcpy)
Packit 679830
#define lzo_hmemmove            __LZOLIB_FUNCNAME(lzo_memmove)
Packit 679830
#define lzo_hmemset             __LZOLIB_FUNCNAME(lzo_memset)
Packit 679830
#define LZO_WANT_ACCLIB_HMEMCPY 1
Packit 679830
#include "lzo_supp.h"
Packit 679830
#undef LZOLIB_PUBLIC
Packit 679830
Packit 679830
Packit 679830
/*
Packit 679830
vi:ts=4:et
Packit 679830
*/