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
c9dc3e1d
Commit
c9dc3e1d
authored
Dec 01, 2022
by
Alex Henrie
Committed by
Alexandre Julliard
Dec 03, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Annotate SnmpUtilMem(Re)Alloc with __WINE_(DEALLOC|MALLOC).
parent
68852827
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
snmp.h
include/snmp.h
+5
-3
No files found.
include/snmp.h
View file @
c9dc3e1d
...
...
@@ -271,9 +271,11 @@ INT WINAPI SnmpUtilVarBindListCpy(SnmpVarBindList *pVblDst,
SnmpVarBindList
*
pVblSrc
);
VOID
WINAPI
SnmpUtilVarBindListFree
(
SnmpVarBindList
*
pVbl
);
LPVOID
WINAPI
SnmpUtilMemAlloc
(
UINT
nBytes
)
__WINE_ALLOC_SIZE
(
1
);
LPVOID
WINAPI
SnmpUtilMemReAlloc
(
LPVOID
pMem
,
UINT
nBytes
)
__WINE_ALLOC_SIZE
(
2
);
VOID
WINAPI
SnmpUtilMemFree
(
LPVOID
pMem
);
void
WINAPI
SnmpUtilMemFree
(
void
*
mem
);
void
*
WINAPI
SnmpUtilMemAlloc
(
UINT
n_bytes
)
__WINE_ALLOC_SIZE
(
1
)
__WINE_DEALLOC
(
SnmpUtilMemFree
)
__WINE_MALLOC
;
void
*
WINAPI
SnmpUtilMemReAlloc
(
void
*
mem
,
UINT
n_bytes
)
__WINE_ALLOC_SIZE
(
2
)
__WINE_DEALLOC
(
SnmpUtilMemFree
);
LPSTR
WINAPI
SnmpUtilOidToA
(
AsnObjectIdentifier
*
Oid
);
LPSTR
WINAPI
SnmpUtilIdsToA
(
UINT
*
Ids
,
UINT
IdLength
);
...
...
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