1 /*-------------------------------------------------------------------------
4 * PostgreSQL type definitions for ISNs (ISBN, ISMN, ISSN, EAN13, UPC)
6 * Author: German Mendez Bravo (Kronuz)
7 * Portions Copyright (c) 1996-2024, PostgreSQL Global Development Group
12 *-------------------------------------------------------------------------
24 * uint64 is the internal storage format for ISNs.
28 #define EAN13_FORMAT UINT64_FORMAT
30 #define PG_GETARG_EAN13(n) PG_GETARG_INT64(n)
31 #define PG_RETURN_EAN13(x) PG_RETURN_INT64(x)
33 extern void initialize(void);