mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-18 19:29:09 +00:00
Deprecate and remove NEWZERO macro
This commit is contained in:
@ -103,12 +103,16 @@ enum EAsyncNotifySocket {
|
||||
struct AsyncNotifySocket {
|
||||
void * param;
|
||||
AsyncId asyncId;
|
||||
|
||||
AsyncNotifySocket() : param(nil), asyncId(nil) { }
|
||||
};
|
||||
|
||||
struct AsyncNotifySocketConnect : AsyncNotifySocket {
|
||||
plNetAddress localAddr;
|
||||
plNetAddress remoteAddr;
|
||||
unsigned connType;
|
||||
|
||||
AsyncNotifySocketConnect() : connType(0) { }
|
||||
};
|
||||
|
||||
struct AsyncNotifySocketListen : AsyncNotifySocketConnect {
|
||||
@ -120,12 +124,18 @@ struct AsyncNotifySocketListen : AsyncNotifySocketConnect {
|
||||
uint8_t * buffer;
|
||||
unsigned bytes;
|
||||
unsigned bytesProcessed;
|
||||
|
||||
AsyncNotifySocketListen()
|
||||
: buildId(0), buildType(0), branchId(0), buffer(nil), bytes(0),
|
||||
bytesProcessed(0) { }
|
||||
};
|
||||
|
||||
struct AsyncNotifySocketRead : AsyncNotifySocket {
|
||||
uint8_t * buffer;
|
||||
unsigned bytes;
|
||||
unsigned bytesProcessed;
|
||||
|
||||
AsyncNotifySocketRead() : buffer(nil), bytes(0), bytesProcessed(0) { }
|
||||
};
|
||||
|
||||
typedef AsyncNotifySocketRead AsyncNotifySocketWrite;
|
||||
|
@ -83,7 +83,7 @@ struct AsyncThread {
|
||||
void * handle;
|
||||
void * argument;
|
||||
unsigned workTimeMs;
|
||||
wchar_t name[16];
|
||||
wchar_t name[16];
|
||||
};
|
||||
|
||||
/*****************************************************************************
|
||||
@ -95,7 +95,7 @@ struct AsyncThread {
|
||||
void * AsyncThreadCreate (
|
||||
FAsyncThreadProc proc,
|
||||
void * argument,
|
||||
const wchar_t name[]
|
||||
const wchar_t name[]
|
||||
);
|
||||
|
||||
// This function should ONLY be called during shutdown while waiting for things to expire
|
||||
|
Reference in New Issue
Block a user