MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / ddgr_PushError

Function ddgr_PushError

dd_grwin32/ddgrWin32Init.cpp:208–219  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

206}
207
208void ddgr_PushError(const char *fmt, ...) {
209 std::va_list arglist;
210 char buf[128];
211
212 va_start(arglist, fmt);
213 std::vsnprintf(buf, 128, fmt, arglist);
214 va_end(arglist);
215
216 DDGR_error_msgs[DDGR_num_msgs] = new char[strlen(buf) + 1];
217 strcpy(DDGR_error_msgs[DDGR_num_msgs], buf);
218 DDGR_num_msgs++;
219}

Callers 8

ddgr_gdi_InitFunction · 0.85
ddgr_gdi_surf_InitVideoFunction · 0.85
ddgr_gdi_surf_CreateFunction · 0.85
ddgr_dx_InitFunction · 0.85
ddgr_dx_surf_InitVideoFunction · 0.85
ddgr_dx_surf_LockFunction · 0.85
ddgr_dx_surf_UnlockFunction · 0.85
ddgr_dx_surf_BltFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected