Remove g++ support from the [C]Make files.

Move all '.cpp' files to '.c'.
Rename comments from 'cpp' to 'c'.

JerryScript-DCO-1.0-Signed-off-by: Roland Takacs rtakacs.u-szeged@partner.samsung.com
JerryScript-DCO-1.0-Signed-off-by: Robert Sipka rsipka.uszeged@partner.samsung.com
This commit is contained in:
Robert Sipka
2016-02-11 22:37:57 +01:00
parent ec5859f4e8
commit 977bfa5d2c
150 changed files with 131 additions and 166 deletions
+6 -6
View File
@@ -4,7 +4,7 @@ This guide is intended to introduce you to JerryScript embedding API through cre
## Step 1. Execute JavaScript from your application
```cpp
```c
#include <string.h>
#include "jerry.h"
@@ -34,7 +34,7 @@ Here we perform the same actions, as `jerry_run_simple`, while splitting into se
- engine cleanup
```cpp
```c
#include <string.h>
#include "jerry.h"
@@ -60,7 +60,7 @@ Our code is more complex now, but it introduces possibilities to interact with J
## Step 3. Execution in 'eval'-mode
```cpp
```c
#include <string.h>
#include "jerry.h"
@@ -95,7 +95,7 @@ This way, we execute two independent script parts in one execution environment.
## Step 4. Interaction with JavaScript environment
```cpp
```c
#include <string.h>
#include "jerry.h"
@@ -164,7 +164,7 @@ Pointers to strings or objects and values should be released just when become un
The following example function will output a JavaScript value:
```cpp
```c
static void
print_value (const jerry_api_value_t * value_p)
{
@@ -234,7 +234,7 @@ Shell operation can be described with the following loop:
- print result of eval;
- loop.
```cpp
```c
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>