diff options
Diffstat (limited to 'targets/baremetal-sdk/esp8266-rtos-sdk/include/jerry_extapi.h')
-rw-r--r-- | targets/baremetal-sdk/esp8266-rtos-sdk/include/jerry_extapi.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/targets/baremetal-sdk/esp8266-rtos-sdk/include/jerry_extapi.h b/targets/baremetal-sdk/esp8266-rtos-sdk/include/jerry_extapi.h new file mode 100644 index 00000000..5c0c4e5b --- /dev/null +++ b/targets/baremetal-sdk/esp8266-rtos-sdk/include/jerry_extapi.h @@ -0,0 +1,30 @@ +/* Copyright JS Foundation and other contributors, http://js.foundation + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef __JERRY_EXTAPI_H__ +#define __JERRY_EXTAPI_H__ + +#define JERRY_STANDALONE_EXIT_CODE_OK (0) +#define JERRY_STANDALONE_EXIT_CODE_FAIL (1) + +#include "jerryscript.h" + +JERRY_C_API_BEGIN + +void js_register_functions (void); + +JERRY_C_API_END + +#endif /* __JERRY_EXTAPI_H__ */ |