PandA-2024.02
Macros | Typedefs | Functions
bsearch-specialized.c File Reference

Go to the source code of this file.

Macros

#define _AND   ,
 
#define _DEFUN(name, arglist, args)   name(args)
 
#define _PARAMS(paramlist)   paramlist
 
#define _PTR   void *
 
#define _EXFNPTR(name, proto)   (* name) proto
 
#define _CONST   const
 
#define NULL   0
 

Typedefs

typedef unsigned int size_t
 

Functions

int less (const void *a, const void *b)
 
_PTR _DEFUN (bsearch,(key, base, nmemb, size, compar), _CONST _PTR key _AND _CONST _PTR base _AND size_t nmemb _AND size_t size _AND int _EXFNPTR(compar,(const _PTR, const _PTR)))
 

Macro Definition Documentation

◆ _AND

#define _AND   ,

Definition at line 66 of file bsearch-specialized.c.

◆ _CONST

#define _CONST   const

Definition at line 71 of file bsearch-specialized.c.

◆ _DEFUN

#define _DEFUN (   name,
  arglist,
  args 
)    name(args)

Definition at line 67 of file bsearch-specialized.c.

◆ _EXFNPTR

#define _EXFNPTR (   name,
  proto 
)    (* name) proto

Definition at line 70 of file bsearch-specialized.c.

◆ _PARAMS

#define _PARAMS (   paramlist)    paramlist

Definition at line 68 of file bsearch-specialized.c.

◆ _PTR

#define _PTR   void *

Definition at line 69 of file bsearch-specialized.c.

Referenced by _DEFUN().

◆ NULL

#define NULL   0

Definition at line 72 of file bsearch-specialized.c.

Referenced by _DEFUN().

Typedef Documentation

◆ size_t

typedef unsigned int size_t

Definition at line 63 of file bsearch-specialized.c.

Function Documentation

◆ _DEFUN()

_PTR _DEFUN ( bsearch  ,
(key, base, nmemb, size, compar ,
_CONST _PTR key _AND _CONST _PTR base _AND size_t nmemb _AND size_t size _AND int   _EXFNPTRcompar,(const _PTR, const _PTR) 
)

Definition at line 75 of file bsearch-specialized.c.

References _PTR, index, key, less(), NULL, and result.

Here is the call graph for this function:

◆ less()

int less ( const void *  a,
const void *  b 
)

Definition at line 4 of file less.c.


Generated on Mon Feb 12 2024 13:03:09 for PandA-2024.02 by doxygen 1.8.13