Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes14kdownloads
isn.h36 linesDownload Raw Back to isn
1/*-------------------------------------------------------------------------2 *3 * isn.h4 *	  PostgreSQL type definitions for ISNs (ISBN, ISMN, ISSN, EAN13, UPC)5 *6 * Author:	German Mendez Bravo (Kronuz)7 * Portions Copyright (c) 1996-2023, PostgreSQL Global Development Group8 *9 * IDENTIFICATION10 *	  contrib/isn/isn.h11 *12 *-------------------------------------------------------------------------13 */14 15#ifndef ISN_H16#define ISN_H17 18#include "fmgr.h"19 20#undef ISN_DEBUG21#define ISN_WEAK_MODE22 23/*24 *	uint64 is the internal storage format for ISNs.25 */26typedef uint64 ean13;27 28#define EAN13_FORMAT UINT64_FORMAT29 30#define PG_GETARG_EAN13(n) PG_GETARG_INT64(n)31#define PG_RETURN_EAN13(x) PG_RETURN_INT64(x)32 33extern void initialize(void);34 35#endif							/* ISN_H */36 
codekingpro/portable-devtools · Team Ai