Cesium icon indicating copy to clipboard operation
Cesium copied to clipboard

Type cast to function pointer doesn't work

Open ForNeVeR opened this issue 1 year ago • 0 comments

See a comment in Cesium.IntegrationTests/type_casts.c (introduced in #377):


    // function pointer types are not supported yet?
    // int j = (int) (void (*)(int a)) a;
    // int k = (int) (void (*)(int a)) (a + b);
    // if (j + k != 5) return -5;

We should investigate this problem.

ForNeVeR avatar May 06 '23 20:05 ForNeVeR