B4R Question What is the "o" for in the sub header for inline code ?

wcieslik

Member
Licensed User
Longtime User
Hi ,
Sorry for what is probably a dumb question, but what is the "o" for after the B4R::Object* ?
eg :

B4X:
RunNative("MySub",Null)
#if C
void MySub (B4R::Object* o) {
blah,,,
}
#end if
As the code compiles the compiler identifies every instance of these as an "unused parameter".

eg:
\\as01w0001\HBS_PAC_TSG_DATA\CARDFO~1\ARDUIN~1\_B4R_3~1\B4RCOD~1\CARDCO~1.1\Objects\bin\sketch\b4r_main.cpp:32:28: warning: unused parameter 'o' [-Wunused-parameter]
void SendReg (B4R::Object* o) {
^
 
Top