Displaying 2 results from an estimated 2 matches for "png_structrp".
2019 Mar 12
3
Help with bitcast instruction
...ype"
(%struct.png_struct_def* %create_struct, i8* %mem_ptr, i8*
(%struct.png_struct_def*, i64)* %malloc_fn, void (%struct.png_struct_def*,
i8*)* %free_fn) "the parameters passed to the png_set_mem_fn"
As a clarification the function is declared like this:
void PNGAPI
png_set_mem_fn(png_structrp png_ptr, png_voidp mem_ptr, png_malloc_ptr
malloc_fn, png_free_ptr free_fn)
Thanks again
Il giorno dom 10 mar 2019 alle ore 08:59 Tim Northover <
t.p.northover at gmail.com> ha scritto:
> Hi Alberto,
>
> > I would like to understand where bitcast is defined because it is no...
2019 Mar 10
5
Help with bitcast instruction
Hi,
I'm playing with the IR of pngpixel and I encountered this instruction:
call void bitcast (void (%struct.png_struct_def.68*, i8*, i8*
(%struct.png_struct_def.68*, i64)*, void (%struct.png_struct_def.68*,
i8*)*)* @png_set_mem_fn to void (%struct.png_struct_def*, i8*, i8*
(%struct.png_struct_def*, i64)*, void (%struct.png_struct_def*,
i8*)*)*)(%struct.png_struct_def* %create_struct, i8*