Files
vitasdk-odin/PhotoExport/PhotoExport.odin
T

21 lines
828 B
Odin
Raw Normal View History

2024-05-11 23:24:13 +02:00
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 ---
}