Vanilla.PDF  1.3.0
Cross-platform toolkit for creating and modifying PDF documents
c_unknown_interface.h
Go to the documentation of this file.
1 #ifndef _C_UNKNOWN_INTERFACE_H
2 #define _C_UNKNOWN_INTERFACE_H
3 
4 #include "vanillapdf/c_export.h"
5 #include "vanillapdf/c_handles.h"
6 #include "vanillapdf/c_values.h"
7 
8 #ifdef __cplusplus
9 extern "C"
10 {
11 #endif
12 
32  VANILLAPDF_API error_type CALLING_CONVENTION IUnknown_AddRef(IUnknownHandle* handle);
33 
40  VANILLAPDF_API error_type CALLING_CONVENTION IUnknown_Release(IUnknownHandle* handle);
41 
44 #ifdef __cplusplus
45 };
46 #endif
47 
48 #endif /* _C_UNKNOWN_INTERFACE_H */
This file contains all type forward declarations returned by the library API.
error_type IUnknown_AddRef(IUnknownHandle *handle)
Increment the internal reference counter.
uint32_t error_type
This is return value type of all API functions.
Definition: c_types.h:25
This file contains macro declarations for importing and exporting symbols from library boundaries...
This file contains types and constants used as parameters or return values.
error_type IUnknown_Release(IUnknownHandle *handle)
Decrement the internal reference counter.
Base class for reference counting.