Skip to content

Commit a123dbd

Browse files
authored
Update request.go
1 parent 71154e5 commit a123dbd

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

request.go

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,25 @@ import (
4040
"unsafe"
4141
)
4242

43+
/** Resource data type.
44+
* Used by SciterDataReadyAsync() function.
45+
**/
46+
type SciterResourceType uint32
47+
48+
// typedef enum SciterResourceType
49+
const (
50+
RT_DATA_HTML SciterResourceType = iota
51+
RT_DATA_IMAGE
52+
RT_DATA_STYLE
53+
RT_DATA_CURSOR
54+
RT_DATA_SCRIPT
55+
RT_DATA_RAW
56+
RT_DATA_FONT
57+
RT_DATA_SOUND // wav bytes
58+
59+
RT_DATA_FORCE_DWORD = 0xffffffff
60+
)
61+
4362
type REQUEST_RESULT int32
4463

4564
// enum REQUEST_RESULT

0 commit comments

Comments
 (0)