Update document 10.EXT-REFERENCE-HANDLER.md (#5163)

The handler prototype did not match it's implementation

JerryScript-DCO-1.0-Signed-off-by: Yonggang Luo luoyonggang@gmail.com
This commit is contained in:
Yonggang Luo
2024-11-21 00:46:10 +08:00
committed by GitHub
parent f54f2d3a7b
commit 82ca949850
4 changed files with 21 additions and 55 deletions
+2 -2
View File
@@ -128,7 +128,7 @@ jerry_port_path_normalize (const jerry_char_t *path_p, /**< input path */
memcpy (buffer_p, path_p, path_size + 1);
return buffer_p;
} /* jerry_port_normalize_path */
} /* jerry_port_path_normalize */
/**
* Free a path buffer returned by jerry_port_path_normalize.
@@ -139,7 +139,7 @@ void JERRY_ATTR_WEAK
jerry_port_path_free (jerry_char_t *path_p)
{
free (path_p);
} /* jerry_port_normalize_path */
} /* jerry_port_path_free */
/**
* Computes the end of the directory part of a path.