mirror of
https://github.com/Genymobile/scrcpy.git
synced 2026-04-21 01:33:36 +00:00
Rename MSG_SERIALIZED_MAX_SIZE to MSG_MAX_SIZE
For simplicity and consistency with the server part.
This commit is contained in:
parent
d202d7b205
commit
d91c5dcfd5
6 changed files with 23 additions and 24 deletions
|
|
@ -7,9 +7,9 @@
|
|||
|
||||
#include "config.h"
|
||||
|
||||
#define DEVICE_MSG_SERIALIZED_MAX_SIZE 4096
|
||||
#define DEVICE_MSG_MAX_SIZE 4096
|
||||
// type: 1 byte; length: 2 bytes
|
||||
#define DEVICE_MSG_TEXT_MAX_LENGTH (DEVICE_MSG_SERIALIZED_MAX_SIZE - 3)
|
||||
#define DEVICE_MSG_TEXT_MAX_LENGTH (DEVICE_MSG_MAX_SIZE - 3)
|
||||
|
||||
enum device_msg_type {
|
||||
DEVICE_MSG_TYPE_CLIPBOARD,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue