dyncall tag refers to the dyncall library, which is used for dynamically calling C functions at runtime.
Questions tagged [dyncall]
4 questions
                    
                    42
                    
            votes
                
                2 answers
            
        Performant 2D SDL or OpenGL graphics in R for fast display of raster image using rdyncall package and SDL/OpenGL calls
In R, it seems none of the currently available options (e.g. image) allow for fast real-time display of 2D raster graphics. I was interested for example to make a real-time interactive Mandelbrot viewer, where I was hoping to display 1920x1080 raw…
        
        Tom Wenseleers
        
- 7,535
 - 7
 - 63
 - 103
 
                    6
                    
            votes
                
                0 answers
            
        Is dcbFreeCallback safe when the registered callback function is running?
I am using OpenCL's Java binding provided by lwjgl 3.
When I call the clSetEventCallback, I have to pass a callback function to  clSetEventCallback. For each clSetEventCallback call, I created a new callback function from lwjgl's…
        
        Yang Bo
        
- 3,586
 - 3
 - 22
 - 35
 
                    1
                    
            vote
                
                1 answer
            
        dyncall callback error when switching from 64 to 32 bit
I have prepared a minimal reproducable example.
When I compile with 64 bit mingw and link to 64 bit versions of the dyncall libraries then the printed result is the expected 2.5000. 
Switching both to 32 bit and after a make clean i get the printed…
        
        Bernd Elkemann
        
- 23,242
 - 4
 - 37
 - 66
 
                    0
                    
            votes
                
                2 answers
            
        Generate function pointer declaration at run-time in C++?
Is it possible to create/generate a pointer declaration similar to:
void (*foo)(int, float);
bool (*foo)();
char (*foo)(char, int);
But without knowing the type of the arguments or the return type until run-time.
The function declaration would be…
        
        SLC
        
- 2,167
 - 2
 - 28
 - 46