Skip to content

Commit

Permalink
Replace remaining INOUT with DR_PARAM_INOUT
Browse files Browse the repository at this point in the history
Replaces a couple of INOUT missed by PR #2490.
  • Loading branch information
derekbruening committed Jan 15, 2024
1 parent e744e42 commit 84d896d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion drheapstat/drheapstat.c
Original file line number Diff line number Diff line change
Expand Up @@ -965,7 +965,7 @@ client_handle_realloc_null(app_pc pc, dr_mcontext_t *mc)
app_pc
client_handle_free(malloc_info_t *info, byte *tofree, dr_mcontext_t *mc,
app_pc free_routine, void *routine_set_data, bool for_reuse
_IF_WINDOWS(ptr_int_t *auxarg INOUT))
_IF_WINDOWS(ptr_int_t *auxarg DR_PARAM_INOUT))
{
return tofree;
}
Expand Down
5 changes: 3 additions & 2 deletions drsyscall/pdb2sysfile.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* **********************************************************
* Copyright (c) 2011-2019 Google, Inc. All rights reserved.
* Copyright (c) 2011-2024 Google, Inc. All rights reserved.
* Copyright (c) 2003-2008 VMware, Inc. All rights reserved.
* **********************************************************/

Expand Down Expand Up @@ -395,7 +395,8 @@ static const char * const syscall_dlls[] = {

DR_EXPORT
drmf_status_t
drsys_find_sysnum_libs(OUT char **sysnum_lib_paths, INOUT size_t *num_sysnum_libs)
drsys_find_sysnum_libs(OUT char **sysnum_lib_paths,
DR_PARAM_INOUT size_t *num_sysnum_libs)
{
if (num_sysnum_libs == nullptr)
return DRMF_ERROR_INVALID_PARAMETER;
Expand Down

0 comments on commit 84d896d

Please sign in to comment.