summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
d06fb34)
_AttribPairList_size is still used for WGL's float-based attribs.
-/*
- * attribute list, terminated by the given terminator.
- */
-template<class T>
-static inline size_t
-_AttribList_size(const T *pAttribList, const T terminator = static_cast<T>(0))
-{
- size_t size = 0;
-
- if (pAttribList) {
- do {
- ++size;
- } while (*pAttribList++ != terminator);
- }
-
- return size;
-}
-
-
/*
* (key, value) attribute list, terminated by the given terminator.
*/
/*
* (key, value) attribute list, terminated by the given terminator.
*/