MySQL  8.0.22
Source Code Documentation
xcom_memory.h File Reference
#include <rpc/types.h>
#include <rpc/xdr.h>

Go to the source code of this file.

Macros

#define X_FREE(x)
 
#define XCOM_XDR_FREE(proc, ptr)
 

Functions

void xcom_xdr_free (xdrproc_t f, char *p)
 

Macro Definition Documentation

◆ X_FREE

#define X_FREE (   x)
Value:
{ \
free(x); \
x = 0; \
}

◆ XCOM_XDR_FREE

#define XCOM_XDR_FREE (   proc,
  ptr 
)
Value:
{ \
xcom_xdr_free((xdrproc_t)proc, (char *)(ptr)); \
(ptr) = 0; \
}
bool_t(* xdrproc_t)(XDR *, void *,...)
Definition: xdr.h:142

Function Documentation

◆ xcom_xdr_free()

void xcom_xdr_free ( xdrproc_t  f,
char *  p 
)