remove useless direct_gateway function in wrapper
This commit is contained in:
parent
62c0dd9651
commit
4c66489fd7
1 changed files with 0 additions and 7 deletions
|
|
@ -999,13 +999,6 @@ public:
|
|||
void startGatewayHeader(String *gatewayLibraryName) {
|
||||
gatewayHeader = NewString("");
|
||||
Printf(gatewayHeader, "\n");
|
||||
Printf(gatewayHeader, "#ifdef __cplusplus\n");
|
||||
Printf(gatewayHeader, "extern \"C\" {\n");
|
||||
Printf(gatewayHeader, "static int direct_gateway(char *fname, void F(void)) { F();\n");
|
||||
Printf(gatewayHeader, "return 0; };\n");
|
||||
Printf(gatewayHeader, "};\n");
|
||||
Printf(gatewayHeader, "#endif\n");
|
||||
Printf(gatewayHeader, "\n");
|
||||
|
||||
gatewayHeaderV6 = NewString("");
|
||||
Printf(gatewayHeaderV6, "#include \"c_gateway_prototype.h\"\n");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue