mirror of
https://github.com/WerWolv/ImHex-Patterns.git
synced 2026-03-27 23:37:04 -05:00
includes: Tabs -> Spaces
This commit is contained in:
@@ -16,7 +16,7 @@ namespace auto std::string {
|
|||||||
struct SizedStringBase<SizeType, DataType> {
|
struct SizedStringBase<SizeType, DataType> {
|
||||||
SizeType size;
|
SizeType size;
|
||||||
DataType data[size];
|
DataType data[size];
|
||||||
} [[sealed, format("std::string::impl::format_sized_string"), transform("std::string::impl::format_sized_string")]];
|
} [[sealed, format("std::string::impl::format_string"), transform("std::string::impl::format_string")]];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
A ASCII string with a prefixed size.
|
A ASCII string with a prefixed size.
|
||||||
@@ -36,7 +36,7 @@ namespace auto std::string {
|
|||||||
*/
|
*/
|
||||||
struct NullStringBase<DataType> {
|
struct NullStringBase<DataType> {
|
||||||
DataType string[while($[$] != 0x00)];
|
DataType string[while($[$] != 0x00)];
|
||||||
} [[format("std::string::impl::format_null_string")]];
|
} [[sealed, format("std::string::impl::format_string"), transform("std::string::impl::format_string")]];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
A null-terminated ASCII string.
|
A null-terminated ASCII string.
|
||||||
@@ -50,14 +50,10 @@ namespace auto std::string {
|
|||||||
|
|
||||||
namespace impl {
|
namespace impl {
|
||||||
|
|
||||||
fn format_sized_string(ref auto string) {
|
fn format_string(ref auto string) {
|
||||||
return string.data;
|
return string.data;
|
||||||
};
|
};
|
||||||
|
|
||||||
fn format_null_string(ref auto null_string) {
|
|
||||||
return null_string.string;
|
|
||||||
};
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user