Cleaning up the error checking in api/c/binary.cpp
Cleaning up the error checking in api/c/binary.cpp

victorv/arrayfire,pentschev/arrayfire,HolyGeneralK/arrayfire,munnybearz/arrayfire,mrgloom/arrayfire,bkloppenborg/arrayfire,unbornchikken/arrayfire,jramapuram/arrayfire,mrgloom/arrayfire,glehmann/arrayfire,merlin-ext/arrayfire,9prady9/arrayfire,linan7788626/arrayfire,linan7788626/arrayfire,asifmadnan/arrayfire,hshindo/arrayfire,arrayfire/arrayfire,pavanky/arrayfire,ghisvail/arrayfire,pombredanne/arrayfire,shehzan10/arrayfire,linan7788626/arrayfire,pentschev/arrayfire,marbre/arrayfire,umar456/arrayfire,marbre/arrayfire,unbornchikken/arrayfire,pombredanne/arrayfire,umar456/arrayfire,arrayfire/arrayfire,pombredanne/arrayfire,unbornchikken/arrayfire,ghisvail/arrayfire,bkloppenborg/arrayfire,jramapuram/arrayfire,Keno/arrayfire,umar456/arrayfire,asifmadnan/arrayfire,marbre/arrayfire,9prady9/arrayfire,unbornchikken/arrayfire,Keno/arrayfire,jramapuram/arrayfire,9prady9/arrayfire,victorv/arrayfire,mrgloom/arrayfire,HolyGeneralK/arrayfire,hshindo/arrayfire,HolyGeneralK/arrayfire,merlin-ext/arrayfire,ghisvail/arrayfire,victorv/arrayfire,arrayfire/arrayfire,shehzan10/arrayfire,pavanky/arrayfire,pentschev/arrayfire,jramapuram/arrayfire,pentschev/arrayfire,marbre/arrayfire,glehmann/arrayfire,9prady9/arrayfire,bkloppenborg/arrayfire,munnybearz/arrayfire,pavanky/arrayfire,shehzan10/arrayfire,merlin-ext/arrayfire,pavanky/arrayfire,ghisvail/arrayfire,arrayfire/arrayfire,Keno/arrayfire,merlin-ext/arrayfire,Keno/arrayfire,mrgloom/arrayfire,asifmadnan/arrayfire,pombredanne/arrayfire,shehzan10/arrayfire,HolyGeneralK/arrayfire,munnybearz/arrayfire,hshindo/arrayfire,asifmadnan/arrayfire,linan7788626/arrayfire,umar456/arrayfire,hshindo/arrayfire,bkloppenborg/arrayfire,victorv/arrayfire