clipboard: add `[heap]` tag to the Clipboard structs (#14412)
parent
8ce7860e8a
commit
cd43bae0b4
|
@ -8,6 +8,7 @@ module clipboard
|
|||
// Clipboard represents a system clipboard.
|
||||
//
|
||||
// System "copy" and "paste" actions utilize the clipboard for temporary storage.
|
||||
[heap]
|
||||
pub struct Clipboard {
|
||||
pb voidptr
|
||||
last_cb_serial i64
|
||||
|
|
|
@ -54,6 +54,7 @@ fn C.DestroyWindow(hwnd C.HWND)
|
|||
// Clipboard represents a system clipboard.
|
||||
//
|
||||
// System "copy" and "paste" actions utilize the clipboard for temporary storage.
|
||||
[heap]
|
||||
struct Clipboard {
|
||||
max_retries int
|
||||
retry_delay int
|
||||
|
|
|
@ -3,6 +3,7 @@ module dummy
|
|||
// Clipboard represents a system clipboard.
|
||||
//
|
||||
// System "copy" and "paste" actions utilize the clipboard for temporary storage.
|
||||
[heap]
|
||||
pub struct Clipboard {
|
||||
mut:
|
||||
text string // text data sent or received
|
||||
|
|
|
@ -138,6 +138,7 @@ enum AtomType {
|
|||
text_html = 9
|
||||
}
|
||||
|
||||
[heap]
|
||||
pub struct Clipboard {
|
||||
display &C.Display
|
||||
mut:
|
||||
|
|
Loading…
Reference in New Issue