Skip to content

Commit d7c2c8d

Browse files
committed
Rename comments from 'cpp' to 'c'.
JerryScript-DCO-1.0-Signed-off-by: Robert Sipka [email protected]
1 parent 86d960a commit d7c2c8d

File tree

8 files changed

+82
-82
lines changed

8 files changed

+82
-82
lines changed

docs/API-EXAMPLE.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This guide is intended to introduce you to JerryScript embedding API through cre
44

55
## Step 1. Execute JavaScript from your application
66

7-
```cpp
7+
```c
88
#include <string.h>
99
#include "jerry.h"
1010

@@ -34,7 +34,7 @@ Here we perform the same actions, as `jerry_run_simple`, while splitting into se
3434
- engine cleanup
3535

3636

37-
```cpp
37+
```c
3838
#include <string.h>
3939
#include "jerry.h"
4040

@@ -60,7 +60,7 @@ Our code is more complex now, but it introduces possibilities to interact with J
6060
6161
## Step 3. Execution in 'eval'-mode
6262
63-
```cpp
63+
```c
6464
#include <string.h>
6565
#include "jerry.h"
6666
@@ -95,7 +95,7 @@ This way, we execute two independent script parts in one execution environment.
9595

9696
## Step 4. Interaction with JavaScript environment
9797

98-
```cpp
98+
```c
9999
#include <string.h>
100100
#include "jerry.h"
101101

@@ -164,7 +164,7 @@ Pointers to strings or objects and values should be released just when become un
164164
165165
The following example function will output a JavaScript value:
166166
167-
```cpp
167+
```c
168168
static void
169169
print_value (const jerry_api_value_t * value_p)
170170
{
@@ -234,7 +234,7 @@ Shell operation can be described with the following loop:
234234
- print result of eval;
235235
- loop.
236236

237-
```cpp
237+
```c
238238
#include <assert.h>
239239
#include <stdio.h>
240240
#include <stdlib.h>

0 commit comments

Comments
 (0)