MCPcopy Create free account
hub / github.com/DFHack/dfhack / ifnull

Function ifnull

library/include/DataDefs.h:505–505  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

503
504 template<class T>
505 T *ifnull(T *a, T *b) { return a ? a : b; }
506
507 template<class T>
508 struct enum_list_attr {

Callers 2

resume_query_loopFunction · 0.85
enum_item_key_strFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected