Add jerryscript.h and mark jerry-api.h as deprecated (#1579)

Add a notification for JerryScript API users that the jerry-api.h
will be removed in the future and should use the jerryscript.h
header instead.

Also update the examples in the docs and the targets where
the jerry-api.h is used.

JerryScript-DCO-1.0-Signed-off-by: Peter Gal pgal.u-szeged@partner.samsung.com
This commit is contained in:
Péter Gál
2017-02-16 08:46:08 +01:00
committed by László Langó
parent 64a340ffeb
commit 75d8226af3
26 changed files with 381 additions and 358 deletions
+1 -1
View File
@@ -263,4 +263,4 @@ foreach(EXT_LIB ${EXTERNAL_LINK_LIBS})
endforeach()
install(TARGETS ${JERRY_CORE_NAME} DESTINATION lib)
install(FILES jerry-api.h jerry-port.h DESTINATION include)
install(FILES jerry-api.h jerryscript.h jerry-port.h DESTINATION include)