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
f3e1d897
Commit
f3e1d897
authored
Jan 27, 2023
by
Alex Henrie
Committed by
Alexandre Julliard
Mar 01, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
server: Annotate allocation functions with __WINE_(ALLOC_SIZE|DEALLOC|MALLOC).
parent
14967933
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
file.h
server/file.h
+1
-1
object.h
server/object.h
+3
-3
unicode.h
server/unicode.h
+1
-1
No files found.
server/file.h
View file @
f3e1d897
...
...
@@ -102,7 +102,7 @@ extern obj_handle_t lock_fd( struct fd *fd, file_pos_t offset, file_pos_t count,
extern
void
unlock_fd
(
struct
fd
*
fd
,
file_pos_t
offset
,
file_pos_t
count
);
extern
void
allow_fd_caching
(
struct
fd
*
fd
);
extern
void
set_fd_signaled
(
struct
fd
*
fd
,
int
signaled
);
extern
char
*
dup_fd_name
(
struct
fd
*
root
,
const
char
*
name
);
extern
char
*
dup_fd_name
(
struct
fd
*
root
,
const
char
*
name
)
__WINE_DEALLOC
(
free
)
__WINE_MALLOC
;
extern
void
get_nt_name
(
struct
fd
*
fd
,
struct
unicode_str
*
name
);
extern
int
default_fd_signaled
(
struct
object
*
obj
,
struct
wait_queue_entry
*
entry
);
...
...
server/object.h
View file @
f3e1d897
...
...
@@ -139,12 +139,12 @@ struct wait_queue_entry
struct
thread_wait
*
wait
;
};
extern
void
*
mem_alloc
(
size_t
size
)
;
/* malloc wrapper */
extern
void
*
memdup
(
const
void
*
data
,
size_t
len
);
extern
void
*
mem_alloc
(
size_t
size
)
__WINE_ALLOC_SIZE
(
1
)
__WINE_DEALLOC
(
free
)
__WINE_MALLOC
;
extern
void
*
memdup
(
const
void
*
data
,
size_t
len
)
__WINE_ALLOC_SIZE
(
2
)
__WINE_DEALLOC
(
free
)
;
extern
void
*
alloc_object
(
const
struct
object_ops
*
ops
);
extern
void
namespace_add
(
struct
namespace
*
namespace
,
struct
object_name
*
ptr
);
extern
const
WCHAR
*
get_object_name
(
struct
object
*
obj
,
data_size_t
*
len
);
extern
WCHAR
*
default_get_full_name
(
struct
object
*
obj
,
data_size_t
*
ret_len
);
extern
WCHAR
*
default_get_full_name
(
struct
object
*
obj
,
data_size_t
*
ret_len
)
__WINE_DEALLOC
(
free
)
__WINE_MALLOC
;
extern
void
dump_object_name
(
struct
object
*
obj
);
extern
struct
object
*
lookup_named_object
(
struct
object
*
root
,
const
struct
unicode_str
*
name
,
unsigned
int
attr
,
struct
unicode_str
*
name_left
);
...
...
server/unicode.h
View file @
f3e1d897
...
...
@@ -28,7 +28,7 @@
extern
int
memicmp_strW
(
const
WCHAR
*
str1
,
const
WCHAR
*
str2
,
data_size_t
len
);
extern
unsigned
int
hash_strW
(
const
WCHAR
*
str
,
data_size_t
len
,
unsigned
int
hash_size
);
extern
WCHAR
*
ascii_to_unicode_str
(
const
char
*
str
,
struct
unicode_str
*
ret
);
extern
WCHAR
*
ascii_to_unicode_str
(
const
char
*
str
,
struct
unicode_str
*
ret
)
__WINE_DEALLOC
(
free
)
__WINE_MALLOC
;
extern
int
parse_strW
(
WCHAR
*
buffer
,
data_size_t
*
len
,
const
char
*
src
,
char
endchar
);
extern
int
dump_strW
(
const
WCHAR
*
str
,
data_size_t
len
,
FILE
*
f
,
const
char
escape
[
2
]
);
extern
struct
fd
*
load_intl_file
(
void
);
...
...
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