DevI2C wrappers for Javascript.
Dependents: ST_SENSOR_JS MQTT_JS
DevI2C-js.h
- Committer:
- akhtar.syedzeeshan@gmail.com
- Date:
- 2017-10-25
- Revision:
- 0:948fd0e96aaa
- Child:
- 1:9004b187e772
File content as of revision 0:948fd0e96aaa:
/* 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 _DEVI2C_JS_H #define _DEVI2C_JS_H #include "jerryscript-mbed-library-registry/wrap_tools.h" DECLARE_CLASS_CONSTRUCTOR(DevI2C); // Define a wrapper, we can load the wrapper in `main.cpp`. // This makes it possible to load libraries optionally. DECLARE_JS_WRAPPER_REGISTRATION (DevI2C_JS_library) { REGISTER_CLASS_CONSTRUCTOR(DevI2C); } #endif // _DEVI2C_H