diff --git a/Library-Documentation.md b/Library-Documentation.md index 326c316..24113da 100644 --- a/Library-Documentation.md +++ b/Library-Documentation.md @@ -618,6 +618,18 @@ If you're going to use it prebuilt, you can find it in the PMT releases. Or you --- +### Macros +There aren't many macros. + +```c++ +// You can take a look also at PMT functions for usage examples... +#define COMMON_LAMBDA_PARAMS \ + (const std::string &partition, const PartitionMap::BasicInf props) + +auto func = [] COMMON_LAMDA_PARAMS -> bool { /* Code... */ }; +``` + + ### Namespaces #### PartitionMap @@ -777,6 +789,13 @@ constexpr uint64_t LK_IMAGE = 0x00006B6C; // ... and more ``` +> There are also maps that keep these ready. +```c++ +extern std::map FileSystemMagicMap; +extern std::map AndroidMagicMap; +extern std::map MagicMap; +``` + --- ### Compling and linking