Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:26
erlang
0197-erlang-load_nif-2-doc-typo.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0197-erlang-load_nif-2-doc-typo.patch of Package erlang
From 87e2171bc158f9e365a95b8c900a38b8cb941516 Mon Sep 17 00:00:00 2001 From: Marko Mindek <marko.mindek@gmail.com> Date: Mon, 22 Apr 2024 12:04:19 +0200 Subject: [PATCH] erlang:load_nif/2 doc typo --- erts/preloaded/src/erlang.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erts/doc/src/erlang.xml b/erts/doc/src/erlang.xml index 143414c0a4..51f727113b 100644 --- a/erts/doc/src/erlang.xml +++ b/erts/doc/src/erlang.xml @@ -4064,7 +4064,7 @@ is_process_alive(P2Pid), <p> If the <seeguide marker="system/reference_manual:modules#nifs_attribute"> <c>-nifs()</c></seeguide> attribute is used (which is recommended), - all NIFs in the dynamic library much be declared as such for + all NIFs in the dynamic library must be declared as such for <c>load_nif/2</c> to succeed. On the other hand, all functions declared with the <c>-nifs()</c> attribute do not have to be implemented by the dynamic library. This allows a target independent Erlang file to diff --git a/lib/stdlib/test/shell_docs_SUITE_data/unknown_erlang_load_nif_2_func.txt b/lib/stdlib/test/shell_docs_SUITE_data/unknown_erlang_load_nif_2_func.txt index 143414c0a4..51f727113b 100644 --- a/lib/stdlib/test/shell_docs_SUITE_data/unknown_erlang_load_nif_2_func.txt +++ b/lib/stdlib/test/shell_docs_SUITE_data/unknown_erlang_load_nif_2_func.txt @@ -47,7 +47,7 @@ module that has been upgraded; this is not allowed. If the [;;4m-nifs()[0m attribute is used (which is recommended), all - NIFs in the dynamic library much be declared as such for [;;4m[0m + NIFs in the dynamic library must be declared as such for [;;4m[0m [;;4mload_nif/2[0m to succeed. On the other hand, all functions declared with the [;;4m-nifs()[0m attribute do not have to be implemented by the dynamic library. This allows a target independent Erlang file to -- 2.35.3
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor