Updated Library Documentation (markdown)

2025-09-02 13:37:01 +03:00
parent b923caa3c5
commit 4c4728f8ef

@@ -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<uint64_t, std::string> FileSystemMagicMap;
extern std::map<uint64_t, std::string> AndroidMagicMap;
extern std::map<uint64_t, std::string> MagicMap;
```
---
### Compling and linking