getregister public in value
This commit is contained in:
parent
6b632eac0a
commit
6c742d0ce1
|
@ -611,10 +611,10 @@ bool setflag(const char* string, bool set)
|
|||
/**
|
||||
\brief Gets a register from a string.
|
||||
\param [out] size This function can store the register size in bytes in this parameter. Can be null, in that case it will be ignored.
|
||||
\param string The name of the register to get.
|
||||
\param string The name of the register to get. Cannot be null.
|
||||
\return The register value.
|
||||
*/
|
||||
static duint getregister(int* size, const char* string)
|
||||
duint getregister(int* size, const char* string)
|
||||
{
|
||||
if(size)
|
||||
*size = 4;
|
||||
|
|
|
@ -21,5 +21,6 @@ duint valfileoffsettova(const char* modname, duint offset);
|
|||
duint valvatofileoffset(duint va);
|
||||
bool setregister(const char* string, duint value);
|
||||
bool setflag(const char* string, bool set);
|
||||
duint getregister(int* size, const char* string);
|
||||
|
||||
#endif // _VALUE_H
|
||||
|
|
Loading…
Reference in New Issue