mirror of
https://git.wuffs.org/MWCC
synced 2025-12-12 06:45:17 +00:00
get it to compile with clang
This commit is contained in:
@@ -1364,7 +1364,7 @@ static Boolean CScope_FindQualifiedTag(CScopeParseResult *result, NameSpace *nsp
|
||||
return 0;
|
||||
}
|
||||
|
||||
inline void CScope_NSIteratorInit(CScopeNSIterator *iterator, NameSpace *nspace, CScopeParseResult *result) {
|
||||
CW_INLINE void CScope_NSIteratorInit(CScopeNSIterator *iterator, NameSpace *nspace, CScopeParseResult *result) {
|
||||
// assumed name
|
||||
if (nspace->usings) {
|
||||
iterator->nspace = NULL;
|
||||
@@ -1376,7 +1376,7 @@ inline void CScope_NSIteratorInit(CScopeNSIterator *iterator, NameSpace *nspace,
|
||||
iterator->result = result;
|
||||
}
|
||||
|
||||
inline Boolean CScope_NSIteratorNext(CScopeNSIterator *iterator) {
|
||||
CW_INLINE Boolean CScope_NSIteratorNext(CScopeNSIterator *iterator) {
|
||||
// assumed name
|
||||
if (iterator->lookup)
|
||||
return (iterator->lookup = iterator->lookup->next) != NULL;
|
||||
|
||||
Reference in New Issue
Block a user