[Info-vax] Groovy on VMS

Arne Vajhøj arne at vajhoej.dk
Tue Mar 5 17:48:21 EST 2024


On 3/4/2024 8:53 PM, Lawrence D'Oliveiro wrote:
> On Mon, 4 Mar 2024 19:17:03 -0500, Arne Vajhøj wrote:
> 
>> That converts the C++ API to a C API ...
> 
> No, it’s all strictly C.

Your code is C. And I suspect the JNI code being called is C as well.

But I consider:

o->f(a1, a2, a3) to be C++
f(o, a1, a2, a3) to be C
o->f(o, a1, a2, a3) to be C++ API in C language

>> PS: (**env).Foobar is rather unusual - the common style is
>>       (*env)->Foobar.
> 
> I don’t understand why. It’s the same number of characters either way.

True. But if you look at examples in documentation and elsewhere, then ...

Arne




More information about the Info-vax mailing list