Lucas Stadler
|
8e800af3c8
Remove debug println
|
10 年 前 |
Lucas Stadler
|
ddca15b9cd
Support getting the filename from the cmdline
|
10 年 前 |
Lucas Stadler
|
e658f0c907
Move ffi call into a method on png_image
|
10 年 前 |
Lucas Stadler
|
8c7c2d2feb
Move png_image initialization into a function
|
10 年 前 |
Lucas Stadler
|
fb389a2eb2
Implement Display for png_image
|
10 年 前 |
Lucas Stadler
|
3943b76f19
Initialize the `.version` field correctly
|
10 年 前 |
Lucas Stadler
|
a15fe17b56
Use a null-terminated string for the file name
|
10 年 前 |
Lucas Stadler
|
6a04b2debb
Add a printing function that displays png_image
|
10 年 前 |
Lucas Stadler
|
e5ac979f6a
Use libc::c_void for the opaque struct
|
10 年 前 |
Lucas Stadler
|
a71e0aac9f
Fix the opaque type
|
10 年 前 |
Lucas Stadler
|
24965887e1
Use `zeroed` instead of `unitialized`.
|
10 年 前 |
Lucas Stadler
|
6e15c8137c
Add work-in-progress png example
|
10 年 前 |
Lucas Stadler
|
416aa59f35
Initial commit: Hello FFI in Rust!
|
10 年 前 |