Forget about swig, wrap cow by hand
Update domain_getcomm function