MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / get_word

Function get_word

src/common/sdl.cpp:69–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67static const UCHAR* get_range(const UCHAR*, array_range*, SLONG*, SLONG*);
68
69inline SSHORT get_word(const UCHAR*& ptr)
70{
71/**************************************
72 *
73 * g e t _ w o r d
74 *
75 **************************************
76 *
77 * Functional description
78 * gather a int16 from two little-endian
79 * unsigned chars and advance the pointer
80 *
81 **************************************/
82 SSHORT n = *ptr++;
83 n |= (*ptr++) << 8;
84
85 return n;
86}
87
88static const UCHAR* sdl_desc(const UCHAR*, DSC*);
89static IPTR* stuff(IPTR, sdl_arg*);

Callers 2

SDL_infoFunction · 0.85
sdl_descFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected