53.4. Miscellaneous Coding Conventions
C Standard
Function-Like Macros and Inline Functions
#define Max(x, y) ((x) > (y) ? (x) : (y))#ifndef FRONTEND
static inline MemoryContext
MemoryContextSwitchTo(MemoryContext context)
{
MemoryContext old = CurrentMemoryContext;
CurrentMemoryContext = context;
return old;
}
#endif /* FRONTEND */Writing Signal Handlers
Calling Function Pointers
Last updated
Was this helpful?