modified: SpatialOmicsCoord.py
[GalaxyCodeBases.git] / c_cpp / etc / calc / lib_util.h
blob0eb283574d54e8a914bf45d011b227eadc5c7073
1 /*
2 * lib_util - calc link library utility routines
4 * Copyright (C) 1999-2007 Landon Curt Noll
6 * Calc is open software; you can redistribute it and/or modify it under
7 * the terms of the version 2.1 of the GNU Lesser General Public License
8 * as published by the Free Software Foundation.
10 * Calc is distributed in the hope that it will be useful, but WITHOUT
11 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
12 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General
13 * Public License for more details.
15 * A copy of version 2.1 of the GNU Lesser General Public License is
16 * distributed with calc under the filename COPYING-LGPL. You should have
17 * received a copy with calc; if not, write to Free Software Foundation, Inc.
18 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20 * @(#) $Revision: 30.1 $
21 * @(#) $Id: lib_util.h,v 30.1 2007/03/16 11:09:46 chongo Exp $
22 * @(#) $Source: /usr/local/src/bin/calc/RCS/lib_util.h,v $
24 * Under source code control: 1997/04/19 21:38:30
25 * File existed as early as: 1997
27 * chongo <was here> /\oo/\ http://www.isthe.com/chongo/
28 * Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/
32 * These routines are here to support users of libcalc.a. These routines
33 * are not directly used by calc itself, however.
37 #if !defined(__LIB_UTIL_H__)
38 #define __LIB_UTIL_H__
40 /* external functions in lib_util.c */
41 EXTERN int lowhex2bin[256];
42 EXTERN char lowbin2hex[256];
43 E_FUNC ZVALUE convstr2z(char*);
44 E_FUNC ZVALUE convhex2z(char *hex);
45 E_FUNC char *convz2hex(ZVALUE z);
47 #endif /* __LIB_UTIL_H__ */