Coverage Report

Created: 2025-06-24 07:01

/src/ghostpdl/base/gp_strdl.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
/* Default, stream-based readline implementation */
18
#include "std.h"
19
#include "gstypes.h"
20
#include "gsmemory.h"
21
#include "gp.h"
22
23
int
24
gp_readline_init(void **preadline_data, gs_memory_t * mem)
25
162k
{
26
162k
    return 0;
27
162k
}
28
29
int
30
gp_readline(stream *s_in, stream *s_out, void *readline_data,
31
            gs_const_string *prompt, gs_string * buf,
32
            gs_memory_t * bufmem, uint * pcount, bool *pin_eol,
33
            bool (*is_stdin)(const stream *))
34
0
{
35
0
    return sreadline(s_in, s_out, readline_data, prompt, buf, bufmem, pcount,
36
0
                     pin_eol, is_stdin);
37
0
}
38
39
void
40
gp_readline_finit(void *readline_data)
41
162k
{
42
162k
}