forked from meco-group/mockups
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
41 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#ifndef engine_H | ||
#define engine_H | ||
#include "eng_Export.h" | ||
|
||
extern "C" | ||
{ | ||
typedef struct mxArray_tag mxArray; | ||
typedef struct engine Engine; | ||
|
||
eng_Export int engEvalString(Engine *, const char *); | ||
eng_Export Engine* engOpenSingleUse(const char *, void *, int *); | ||
eng_Export Engine *engOpen(const char *); | ||
eng_Export int engClose(Engine *ep); | ||
eng_Export mxArray *engGetVariable(Engine *, const char *); | ||
eng_Export int engPutVariable(Engine *, const char *, const mxArray *); | ||
eng_Export int engOutputBuffer(Engine *, char *, int); | ||
|
||
} | ||
|
||
#endif // engine_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#include "engine.h" | ||
|
||
extern "C" | ||
{ | ||
typedef struct mxArray_tag mxArray; | ||
typedef struct engine Engine; | ||
|
||
int engEvalString(Engine *, const char *) { return 0; } | ||
Engine* engOpenSingleUse(const char *, void *, int *) { return 0; } | ||
Engine *engOpen(const char *) { return 0; } | ||
int engClose(Engine *ep) { return 0; } | ||
mxArray *engGetVariable(Engine *, const char *) { return 0; } | ||
int engPutVariable(Engine *, const char *, const mxArray *) { return 0; } | ||
int engOutputBuffer(Engine *, char *, int) { return 0; } | ||
} |