for example
    
    
    unsigned char imgdata[] = {
        0, 0, 0, 0, 0, 0, 0, 0, 0, 0...};
    
    Ihandle* image = IupImageRGBA(32, 32, imgdata);
    
    
    Run

I tried 
    
    
    var imgdata = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0...}
    var image = iupImageRGBA(32, 32, imgdata)
    
    
    Run

but obviuolsy it is wrong. So what is the proper way to make and pass a C array 
to C function? thanks

Reply via email to