I have some libraries that I want to translate from C and I have a question. What would be the best way to convert a function that has pointer as argument? Something like this:
I’m not saying this is really a better way to do it since the first time you forget to use the setInt interface (e.g., num1 += 1 or just initializing it without setInt) you turn it into an Integer and it’s no longer an roInt object and someSub will no longer modify it in place.
I’m not saying this is really a better way to do it since the first time you forget to use the setInt interface (e.g., num1 += 1 or just initializing it without setInt) you turn it into an Integer and it’s no longer an roInt object and someSub will no longer modify it in place.