Update the API documentation (#5178)

- Minor fixes, typos, version numbers, etc.
 - Followup fix after "Merge Promise Guard with ESNEXT #4725"
 - Added documentation for the new implemented API functions

JerryScript-DCO-1.0-Signed-off-by: Laszlo Lango laszlo.lango@h-lab.eu
This commit is contained in:
László Langó
2024-12-12 20:39:48 +01:00
committed by GitHub
parent 8d44eed661
commit a746a1d29a
6 changed files with 1062 additions and 295 deletions
+1 -1
View File
@@ -237,7 +237,7 @@ jerry_module_resolve (const jerry_value_t specifier, /**< module specifier strin
*/
void
jerry_module_cleanup (const jerry_value_t realm) /**< if this argument is object, release only those modules,
* which realm value is equal to this argument. */
* whose realm value is equal to this argument. */
{
#if JERRY_MODULE_SYSTEM
jerry_module_free ((jerry_module_manager_t *) jerry_context_data (&jerry_module_manager), realm);
+1 -1
View File
@@ -4295,7 +4295,7 @@ jerry_object_set_native_ptr (jerry_value_t object, /**< object to set native poi
} /* jerry_object_set_native_ptr */
/**
* Checks wether the argument object has a native poitner set for the specified native type info.
* Checks whether the argument object has a native pointer set for the specified native type info.
*
* @return true if the native pointer has been set,
* false otherwise