File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -134,7 +134,7 @@ var (
134134// \param[in] data \b LPBYTE, pointer to data buffer.
135135// \param[in] requestId \b LPVOID, SCN_LOAD_DATA requestId.
136136// \return \b BOOL, TRUE if Sciter accepts the data or \c FALSE if error occured
137- func (s * Sciter ) DataReadyAsync (uri string , data []byte , requestId C.HREQUEST ) bool {
137+ func (s * Sciter ) DataReadyAsync (uri string , data []byte , requestId C.LPVOID ) bool {
138138 // args
139139 var pData C.LPCBYTE
140140 if len (data ) > 0 {
Original file line number Diff line number Diff line change @@ -1008,8 +1008,8 @@ func (s *ScnLoadData) Uri() string {
10081008 return Utf16ToString ((* uint16 )(unsafe .Pointer (s .uri )))
10091009}
10101010
1011- func (s * ScnLoadData ) RequestId () C.HREQUEST {
1012- return s .RequestId
1011+ func (s * ScnLoadData ) RequestId () C.LPVOID {
1012+ return s .requestId
10131013}
10141014
10151015func (s * ScnLoadData ) Data () []byte {
You can’t perform that action at this time.
0 commit comments