Skip to content

Commit

Permalink
UserResponsibility
Browse files Browse the repository at this point in the history
  • Loading branch information
HansOlsson committed Feb 22, 2024
1 parent 64b19c4 commit dbe88fe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions chapters/functions.tex
Expand Up @@ -2374,6 +2374,7 @@ \subsection{Annotations for External Functions}\label{annotations-for-external-l

The included code should be valid C89 code.
If the code uses arrays the tool is responsible for ensuring that a C-header defining \lstinline[language=C]!size_t! is included before this code.
The user is responsible for ensuring that the C-code can be compiled separately -- with \lstinline[language=C]!#include <stddef.h>! prepended if using any array.

When an \lstinline!Include! annotation is present, it shall provide a prototype for the external function, and hence the tool shall not produce an automatically generated prototype in the generated code in this case.

Expand Down

0 comments on commit dbe88fe

Please sign in to comment.