TEMU
4.4
The Terma Emulator
DataLoggers.h
Go to the documentation of this file.
1
//===-- temu-c/DataLoggers.h - Data logger functions ------------*- C++ -*-===//
2
//
3
// TEMU: The Terma Emulator
4
// (c) Terma 2016, 2021
5
// Authors: Mattias Holm <maho (at) terma.com>
6
//
7
//===----------------------------------------------------------------------===//
8
#
ifndef
TEMU_SUPPORT_DATALOGGERS
9
#
define
TEMU_SUPPORT_DATALOGGERS
10
11
#
include
<
stdint
.
h
>
12
#
include
"temu-c/Support/Attributes.h"
13
#
ifdef
__cplusplus
14
extern
"C"
{
15
#
endif
16
17
/*!
18
Get number of lines in log.
19
\param Obj Data-logging object
20
\result Number of logged lines
21
*/
22
TEMU_API uint64_t temu_lineDataGetLineCount(
void
*Obj);
23
24
/*!
25
Get line with number.
26
\param Obj Data-logging object
27
\param Line Line number to read out
28
\result A string that is borrowed.
29
*/
30
TEMU_API
const
char
*
temu_lineDataGetLine
(
void
*
Obj
,
uint64_t
Line
);
31
32
#
ifdef
__cplusplus
33
}
34
#
endif
35
36
#
endif
/* ! TEMU_SUPPORT_DATALOGGERS */
temu_lineDataGetLine
const TEMU_API char * temu_lineDataGetLine(void *Obj, uint64_t Line)
temu-c
Support
DataLoggers.h
Generated by
1.8.17