ImportC allows redeclarations of C variables, functions and typedefs. extern int x; int x = 3; and: extern void f(); void f() { } Attempt to merge them.
context
symbol to add to symbol table
existing declaration
symbol table
if s and s2 are successfully put in symbol table then return the merged symbol, null if they conflict
See Implementation
ImportC allows redeclarations of C variables, functions and typedefs. extern int x; int x = 3; and: extern void f(); void f() { } Attempt to merge them.