PLCnext API Documentation
23.6.0.37
Arp
Plc
AnsiC
ArpPlc.h
1
/******************************************************************************
2
*
3
* Copyright PHOENIX CONTACT Electronics GmbH
4
*
5
*****************************************************************************/
6
#ifndef __ARPPLC_H__
7
#define __ARPPLC_H__
8
9
/*************************************************************************/
10
/* INCLUDES */
11
/*************************************************************************/
12
#include <stddef.h>
13
#include <stdint.h>
14
#include "Arp/System/ModuleLib/Module.h"
15
#ifndef __cplusplus
16
#include <stdbool.h>
17
#endif
// !__cplusplus
18
19
/*************************************************************************/
20
/* DEFINITIONS */
21
/*************************************************************************/
22
23
#if defined _WINDLL
// .dll
24
#define ARP_C_SYMBOL_EXPORT __declspec(dllexport)
25
#define ARP_C_SYMBOL_IMPORT __declspec(dllimport)
26
#else
// .lib
27
#define ARP_C_SYMBOL_EXPORT
28
#define ARP_C_SYMBOL_IMPORT
29
#endif
30
31
32
/*************************************************************************/
33
/* GLOBAL FUNCTION DECLARATIONS (EXTERNAL) */
34
/*************************************************************************/
35
#ifdef __cplusplus
36
extern
"C"
37
{
38
#endif
/*__cplusplus*/
39
47
extern
ARP_C_SYMBOL_EXPORT
void
ArpPlc_GetLastError(
char
* buffer,
int
bufferSize);
48
49
50
#ifdef __cplusplus
51
}
/*extern "C"*/
52
#endif
/*__cplusplus*/
53
54
#endif
/*__ARPPLC_H__*/
Generated on Tue Aug 8 2023 06:35:52 for PLCnext API Documentation by
1.9.4