mirror of
https://github.com/corda/corda.git
synced 2025-01-23 21:08:48 +00:00
22 lines
444 B
C++
22 lines
444 B
C++
|
#include "stdint.h"
|
||
|
|
||
|
#ifdef __MINGW32__
|
||
|
# define EXPORT __declspec(dllexport)
|
||
|
#else
|
||
|
# define EXPORT __attribute__ ((visibility("default")))
|
||
|
#endif
|
||
|
|
||
|
extern "C" {
|
||
|
|
||
|
extern const uint8_t _binary_classpath_jar_start[];
|
||
|
extern const uint8_t _binary_classpath_jar_size[];
|
||
|
|
||
|
EXPORT const uint8_t*
|
||
|
vmClasspath(unsigned* size)
|
||
|
{
|
||
|
*size = reinterpret_cast<uintptr_t>(_binary_classpath_jar_size);
|
||
|
return _binary_classpath_jar_start;
|
||
|
}
|
||
|
|
||
|
} // extern "C"
|