This commit is contained in:
2024-05-11 23:24:13 +02:00
commit e66c5afde0
130 changed files with 17039 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
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 ---
}