Rename jerry-port.h to jerryscript-port.h (#1762)

All public headers should follow the pattern `jerryscript[-*].h`.
The `jerry-api.h` to `jerryscript.h` renaming has already happened
a while ago, now it's time for the port API header to follow.

This patch
* renames the public header file,
* updates all includes to use the new file name (in `jerry-main`,
  in all the targets, and in the docs), and
* keeps `jerry-port.h` as a deprecated forwarding header to leave
  some time for external users to follow up with this change.

As a related change, the header of the default port implementation
is also changed to `jerryscript-port-default.h`.

JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu
This commit is contained in:
Akos Kiss
2017-04-22 03:53:12 +02:00
committed by yichoi
parent 63b6fd1bc9
commit 6c3a6e7be3
23 changed files with 194 additions and 171 deletions
+1 -1
View File
@@ -21,7 +21,7 @@
#include "ecma-objects.h"
#include "jcontext.h"
#include "jerry-debugger.h"
#include "jerry-port.h"
#include "jerryscript-port.h"
/**
* Type cast the debugger send buffer into a specific type.