blind reformat all files
This commit is contained in:
11
src/memory.h
11
src/memory.h
@@ -1,9 +1,9 @@
|
||||
#ifndef MEMORY_H_
|
||||
#define MEMORY_H_
|
||||
|
||||
#include "array.h"
|
||||
#include "str.h"
|
||||
#include "types.h"
|
||||
#include "array.h"
|
||||
|
||||
#include <assert.h>
|
||||
|
||||
@@ -24,14 +24,15 @@ typedef struct {
|
||||
const char *pathname;
|
||||
} MemoryRegion;
|
||||
|
||||
|
||||
|
||||
sc_array_def(MemoryRegion, memreg);
|
||||
|
||||
/* A pointer that can be used to place the memory regions into. Clears regions before use, but uses the same buffer. */
|
||||
/* A pointer that can be used to place the memory regions into. Clears regions
|
||||
* before use, but uses the same buffer. */
|
||||
HiloadResult read_memory_maps_self(struct sc_array_memreg *regions);
|
||||
|
||||
/* Return index the pointer is found in */
|
||||
HiloadResult memory_find_pointer(uptr ptr, struct sc_array_memreg* const regions, size_t *index);
|
||||
HiloadResult memory_find_pointer(uptr ptr,
|
||||
struct sc_array_memreg *const regions,
|
||||
size_t *index);
|
||||
|
||||
#endif // MEMORY_H_
|
||||
|
||||
Reference in New Issue
Block a user