MCPcopy Create free account
hub / github.com/BernardoGiordano/Checkpoint / strOr

Method strOr

common/script/scriptargs.cpp:150–154  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

148}
149
150const char* ScriptArgs::strOr(int i, const char* fallback) const
151{
152 const char* s = (const char*)ptrAt(i, true);
153 return s != nullptr ? s : fallback;
154}
155
156/* ---- pointers ---------------------------------------------------------- */
157

Callers 12

ckpt_device_sealFunction · 0.80
ckpt_device_unsealFunction · 0.80
ckpt_web_requestFunction · 0.80
ckpt_web_upload_fileFunction · 0.80
ckpt_gui_keyboardFunction · 0.80
ckpt_gui_statusFunction · 0.80
ckpt_script_logFunction · 0.80
ckpt_progress_beginFunction · 0.80
ckpt_progress_labelFunction · 0.80
ckpt_progress_noteFunction · 0.80
ckpt_http_header_valueFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected