Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
68f63689
Commit
68f63689
authored
Sep 09, 2008
by
Marcus Meissner
Committed by
Alexandre Julliard
Sep 10, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Mark up with alloc_size attribute.
parent
39978c68
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
rpcndr.h
include/rpcndr.h
+7
-7
wincrypt.h
include/wincrypt.h
+1
-1
No files found.
include/rpcndr.h
View file @
68f63689
...
...
@@ -189,7 +189,7 @@ typedef struct _MIDL_STUB_MESSAGE
ULONG_PTR
MaxCount
;
ULONG
Offset
;
ULONG
ActualCount
;
void
*
(
__RPC_API
*
pfnAllocate
)(
size_t
);
void
*
(
__
WINE_ALLOC_SIZE
(
1
)
__
RPC_API
*
pfnAllocate
)(
size_t
);
void
(
__RPC_API
*
pfnFree
)(
void
*
);
unsigned
char
*
StackTop
;
unsigned
char
*
pPresentedType
;
...
...
@@ -316,7 +316,7 @@ typedef struct _USER_MARSHAL_CB
typedef
struct
_MALLOC_FREE_STRUCT
{
void
*
(
__RPC_USER
*
pfnAllocate
)(
size_t
);
void
*
(
__
WINE_ALLOC_SIZE
(
1
)
__
RPC_USER
*
pfnAllocate
)(
size_t
);
void
(
__RPC_USER
*
pfnFree
)(
void
*
);
}
MALLOC_FREE_STRUCT
;
...
...
@@ -329,7 +329,7 @@ typedef struct _COMM_FAULT_OFFSETS
typedef
struct
_MIDL_STUB_DESC
{
void
*
RpcInterfaceInformation
;
void
*
(
__RPC_API
*
pfnAllocate
)(
size_t
);
void
*
(
__
WINE_ALLOC_SIZE
(
1
)
__
RPC_API
*
pfnAllocate
)(
size_t
);
void
(
__RPC_API
*
pfnFree
)(
void
*
);
union
{
handle_t
*
pAutoHandle
;
...
...
@@ -468,7 +468,7 @@ typedef struct _NDR_USER_MARSHAL_INFO_LEVEL1
{
void
*
Buffer
;
ULONG
BufferSize
;
void
*
(
__RPC_API
*
pfnAllocate
)(
size_t
);
void
*
(
__
WINE_ALLOC_SIZE
(
1
)
__
RPC_API
*
pfnAllocate
)(
size_t
);
void
(
__RPC_API
*
pfnFree
)(
void
*
);
struct
IRpcChannelBuffer
*
pRpcChannelBuffer
;
ULONG_PTR
Reserved
[
5
];
...
...
@@ -662,7 +662,7 @@ RPCRTAPI RPC_STATUS RPC_ENTRY
ULONG
*
pFaultStatus
,
RPC_STATUS
Status_
);
RPCRTAPI
void
*
RPC_ENTRY
NdrOleAllocate
(
size_t
Size
);
NdrOleAllocate
(
size_t
Size
)
__WINE_ALLOC_SIZE
(
1
)
;
RPCRTAPI
void
RPC_ENTRY
NdrOleFree
(
void
*
NodeToFree
);
...
...
@@ -723,11 +723,11 @@ RPCRTAPI void RPC_ENTRY
RPCRTAPI
void
RPC_ENTRY
NdrRpcSmSetClientToOsf
(
PMIDL_STUB_MESSAGE
pMessage
);
RPCRTAPI
void
*
RPC_ENTRY
NdrRpcSmClientAllocate
(
size_t
Size
);
NdrRpcSmClientAllocate
(
size_t
Size
)
__WINE_ALLOC_SIZE
(
1
)
;
RPCRTAPI
void
RPC_ENTRY
NdrRpcSmClientFree
(
void
*
NodeToFree
);
RPCRTAPI
void
*
RPC_ENTRY
NdrRpcSsDefaultAllocate
(
size_t
Size
);
NdrRpcSsDefaultAllocate
(
size_t
Size
)
__WINE_ALLOC_SIZE
(
1
)
;
RPCRTAPI
void
RPC_ENTRY
NdrRpcSsDefaultFree
(
void
*
NodeToFree
);
...
...
include/wincrypt.h
View file @
68f63689
...
...
@@ -1082,7 +1082,7 @@ typedef BOOL (WINAPI *PFN_CERT_ENUM_PHYSICAL_STORE)(const void *pvSystemStore,
void
*
pvReserved
,
void
*
pvArg
);
/* Encode/decode object */
typedef
LPVOID
(
WINAPI
*
PFN_CRYPT_ALLOC
)(
size_t
cbsize
);
typedef
LPVOID
(
__WINE_ALLOC_SIZE
(
1
)
WINAPI
*
PFN_CRYPT_ALLOC
)(
size_t
cbsize
);
typedef
VOID
(
WINAPI
*
PFN_CRYPT_FREE
)(
LPVOID
pv
);
typedef
struct
_CRYPT_ENCODE_PARA
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment