mirror of
https://github.com/IllusionMan1212/vitasdk-odin.git
synced 2026-10-24 02:12:38 +00:00
21 lines
828 B
Odin
21 lines
828 B
Odin
package photoexport
|
|||
|
|
|
||
|
|
import "core:c"
|
||
|
|
import sce "../common"
|
||
|
|
|
||
|
|
PhotoExportParam :: struct {
|
||
|
|
version: c.int, //!< Version
|
||
|
|
photoTitle: [^]sce.WChar32, //!< Photo title
|
||
|
|
gameTitle: [^]sce.WChar32, //!< Game title
|
||
|
|
gameComment: [^]sce.WChar32, //!< Game description
|
||
|
|
reserved: [8]c.int, //!< Reserved data
|
||
|
|
}
|
||
|
|
|
||
|
|
foreign import photoexport "system:ScePhotoExport_stub"
|
||
|
|
|
||
|
|
@(link_prefix = "scePhotoExport")
|
||
|
|
foreign photoexport {
|
||
|
|
FromData :: proc(data: rawptr, size: sce.Size, #by_ptr param: PhotoExportParam, workingMemory: rawptr, cancelCb: rawptr, user: rawptr, outPath: cstring, outPathSize: sce.Size) -> c.int ---
|
||
|
|
FromFile :: proc(path: cstring, #by_ptr param: PhotoExportParam, workingMemory: rawptr, cancelCb: rawptr, user: rawptr, outPath: cstring, outPathSize: sce.Size) -> c.int ---
|
||
|
|
}
|