MCPcopy Create free account
hub / github.com/PCSX2/pcsx2 / _calcEnumLength

Function _calcEnumLength

common/SettingsWrapper.cpp:9–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7#include "Console.h"
8
9static int _calcEnumLength(const char* const* enumArray)
10{
11 int cnt = 0;
12 while (*enumArray != nullptr)
13 {
14 enumArray++;
15 cnt++;
16 }
17
18 return cnt;
19}
20
21SettingsWrapper::SettingsWrapper(SettingsInterface& si)
22 : m_si(si)

Callers 1

_EnumEntryMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected