C++ compatible
This commit is contained in:
@@ -1,6 +1,10 @@
|
||||
#ifndef NEONUCLEUS_H
|
||||
#define NEONUCLEUS_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
#include <stdbool.h>
|
||||
@@ -634,4 +638,8 @@ typedef struct nn_gpuControl {
|
||||
// the control is COPIED.
|
||||
nn_component *nn_addGPU(nn_computer *computer, nn_address address, int slot, nn_gpuControl *control);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user