-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdefault_listener.h
50 lines (39 loc) · 1.57 KB
/
default_listener.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
/*
* The MIT License (MIT)
*
* Copyright (c) 2020 TheVice
*
*/
#ifndef _DEFAULT_LISTENER_H_
#define _DEFAULT_LISTENER_H_
#include <stddef.h>
#include <stdint.h>
#if defined(_WIN32)
# ifndef DEFAULT_LISTENER_EXPORT
# ifdef default_listener_EXPORTS
# define DEFAULT_LISTENER_EXPORT __declspec(dllexport)
# else
# define DEFAULT_LISTENER_EXPORT __declspec(dllimport)
# endif
# endif
#else
# ifndef DEFAULT_LISTENER_EXPORT
# ifdef example_of_the_module_EXPORTS
# define DEFAULT_LISTENER_EXPORT __attribute__((visibility("default")))
# else
# define DEFAULT_LISTENER_EXPORT __attribute__((visibility("default")))
# endif
# endif
#endif
void DEFAULT_LISTENER_EXPORT listener_project_started(const uint8_t* source, const uint8_t* the_project);
void DEFAULT_LISTENER_EXPORT listener_project_finished(
const uint8_t* source, const uint8_t* the_project, uint8_t result);
void DEFAULT_LISTENER_EXPORT listener_target_started(const uint8_t* source, ptrdiff_t offset,
const uint8_t* the_project, const uint8_t* the_target);
void DEFAULT_LISTENER_EXPORT listener_target_finished(const uint8_t* source, ptrdiff_t offset,
const uint8_t* the_project, const uint8_t* the_target, uint8_t result);
void DEFAULT_LISTENER_EXPORT listener_task_started(const uint8_t* source, ptrdiff_t offset,
const uint8_t* the_project, const uint8_t* the_target, const uint8_t* task);
void DEFAULT_LISTENER_EXPORT listener_task_finished(const uint8_t* source, ptrdiff_t offset,
const uint8_t* the_project, const uint8_t* the_target, const uint8_t* task, uint8_t result);
#endif