pkg/sys/ewindows: Regenerate ztyles_windows.go.

Also remove types_src_windows.go; it contains the same content as
types.go.
This commit is contained in:
Qi Xiao 2023-03-12 22:06:52 +00:00
parent 34bd94dcd6
commit 33cca983f1
2 changed files with 1 additions and 28 deletions

View File

@ -1,27 +0,0 @@
//go:build ignore
package ewindows
/*
#include <windows.h>
*/
import "C"
type (
Coord C.COORD
InputRecord C.INPUT_RECORD
KeyEvent C.KEY_EVENT_RECORD
MouseEvent C.MOUSE_EVENT_RECORD
WindowBufferSizeEvent C.WINDOW_BUFFER_SIZE_RECORD
MenuEvent C.MENU_EVENT_RECORD
FocusEvent C.FOCUS_EVENT_RECORD
)
const (
KEY_EVENT = C.KEY_EVENT
MOUSE_EVENT = C.MOUSE_EVENT
WINDOW_BUFFER_SIZE_EVENT = C.WINDOW_BUFFER_SIZE_EVENT
MENU_EVENT = C.MENU_EVENT
FOCUS_EVENT = C.FOCUS_EVENT
)

View File

@ -1,5 +1,5 @@
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
// cgo.exe -godefs C:\Users\xiaq\on\elvish\pkg\sys\ewindows\types.go
// cgo.exe -godefs types.go
package ewindows