Coverage Report

Created: 2025-06-10 07:06

/src/ghostpdl/obj/gscdefs.c
Line
Count
Source (jump to first uncovered line)
1
/* Copyright (C) 2001-2023 Artifex Software, Inc.
2
   All Rights Reserved.
3
4
   This software is provided AS-IS with no warranty, either express or
5
   implied.
6
7
   This software is distributed under license and may not be copied,
8
   modified or distributed except as expressly authorized under the terms
9
   of the license contained in the file LICENSE in this distribution.
10
11
   Refer to licensing information at http://www.artifex.com or contact
12
   Artifex Software, Inc.,  39 Mesa Street, Suite 108A, San Francisco,
13
   CA 94129, USA, for further information.
14
*/
15
16
17
/* Configuration scalars */
18
19
#include "std.h"
20
#include "gscdefs.h"    /* interface */
21
#include "gconfigd.h"   /* for #defines */
22
23
/* ---------------- Miscellaneous system parameters ---------------- */
24
25
/* All of these can be set in the makefile. */
26
/* Normally they are all const; see gscdefs.h for more information. */
27
28
const long gs_buildtime = GS_BUILDTIME;
29
30
const char *const gs_copyright = GS_COPYRIGHT;
31
32
const char *const gs_productfamily = GS_PRODUCTFAMILY;
33
34
const char *
35
gs_program_family_name(void)
36
0
{
37
0
    return gs_productfamily;
38
0
}
39
const char *const gs_product = GS_PRODUCT;
40
41
const char *
42
gs_program_name(void)
43
2.70k
{
44
2.70k
    return gs_product;
45
2.70k
}
46
47
/* GS_REVISION must be defined in the makefile. */
48
const long gs_revision = GS_REVISION;
49
50
long
51
gs_revision_number(void)
52
2.70k
{
53
2.70k
    return gs_revision;
54
2.70k
}
55
56
/* GS_REVISIONDATE must be defined in the makefile. */
57
const long gs_revisiondate = GS_REVISIONDATE;
58
59
#ifndef GS_SERIALNUMBER
60
#  define GS_SERIALNUMBER\
61
        42      /* a famous number */
62
#endif
63
const long gs_serialnumber = GS_SERIALNUMBER;
64
65
/* ---------------- Installation directories and files ---------------- */
66
67
/* Here is where the library search path, the name of the */
68
/* initialization file, and the doc directory are defined. */
69
/* Define the documentation directory (only used in help messages). */
70
const char *const gs_doc_directory = GS_DOCDIR;
71
72
/* Define the default library search path. */
73
const char *const gs_lib_default_path = GS_LIB_DEFAULT;
74
75
/* Define the interpreter initialization file. */
76
const char *const gs_init_file = GS_INIT;
77
78
/* Define the default devices list. */
79
#ifndef GS_DEV_DEFAULT
80
#define GS_DEV_DEFAULT ""
81
#endif
82
const char *const gs_dev_defaults = GS_DEV_DEFAULT;