Fix some style issues in debugger documentation (#5181)

There was some style issues in debugger documentation.
This patch fixes these issues.

JerryScript-DCO-1.0-Signed-off-by: Gergo Csizi gergocs@inf.u-szeged.hu
This commit is contained in:
Gergo Csizi
2024-12-12 20:44:36 +01:00
committed by GitHub
parent a746a1d29a
commit 718a439db1
2 changed files with 11 additions and 6 deletions
+5 -3
View File
@@ -100,7 +100,8 @@ typedef jerry_value_t
(*jerry_debugger_wait_for_source_callback_t) (const jerry_char_t *source_name_p,
size_t source_name_size,
const jerry_char_t *source_p,
size_t source_size, void *user_p);
size_t source_size,
void *user_p);
```
- `source_name_p` - source (usually a file) name of the source code
@@ -293,7 +294,8 @@ return value of the function.
```c
jerry_debugger_wait_for_source_status_t
jerry_debugger_wait_for_client_source (jerry_debugger_wait_for_source_callback_t callback_p,
void *user_p, jerry_value_t *return_value)
void *user_p,
jerry_value_t *return_value)
```
**Example**
@@ -385,7 +387,7 @@ Sends the program's output to the debugger client.
```c
void
jerry_debugger_send_output (const jerry_char_t *buffer, jerry_size_t string_size)
jerry_debugger_send_output (const jerry_char_t *buffer, jerry_size_t str_size)
```
**Example**