https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67801

            Bug ID: 67801
           Summary: error in libffi documentation
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: trivial
          Priority: P3
         Component: libffi
          Assignee: unassigned at gcc dot gnu.org
          Reporter: tromey at gcc dot gnu.org
  Target Milestone: ---

In the libffi docs, node "The Basics", I see:

 -- Function: ffi_status ffi_prep_cif_var (ffi_cif *CIF, ffi_abi varabi,
          unsigned int NFIXEDARGS, unsigned int varntotalargs, ffi_type
          *RTYPE, ffi_type **ARGTYPES)

I think that "varntotalargs" is a misspelling of @var{ntotalargs}.
The source says:

@defun ffi_status ffi_prep_cif_var (ffi_cif *@var{cif}, ffi_abi var{abi},
unsigned int @var{nfixedargs}, unsigned int var{ntotalargs}, ffi_type
*@var{rtype}, ffi_type **@var{argtypes})

So it is just missing the "@".

Reply via email to