Closed yh4922 closed 2 years ago
I have a .h file like this
#pragma once class __declspec(dllexport) Person { private: int age; public: int getAge(); void setAge(int a); };
I used this tool to generate it to me like this
var FFI = require('ffi'), ArrayType = require('ref-array'), Struct = require('ref-struct'), ref = require('ref'); var voidPtr = ref.refType(ref.types.void); exports.CONSTANTS = { }; exports.libmyLibrary = new FFI.Library('libmyLibrary', { });
I want to know how to refer to classes and classes that contain a class
I have a .h file like this
I used this tool to generate it to me like this
I want to know how to refer to classes and classes that contain a class