Skip to content

Commit

Permalink
Add reference to package manager in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
finwo committed Mar 8, 2024
1 parent bbb1b04 commit 5a8830a
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,22 @@ pfree(fd, first);
palloc_close(fd);
```
Installation
------------
This library makes use of [dep](https://github.com/finwo/dep) to manage it's
dependencies and exports.
```sh
dep add finwo/palloc
```

Dependencies:

- [finwo/assert](https://github.com/finwo/assert.h)
- [finwo/canonical-path](https://github.com/finwo/canonical-path.c)
- [finwo/endian](https://github.com/finwo/endian.h)

API
---

Expand Down
16 changes: 16 additions & 0 deletions src/palloc.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,22 @@
/// // Close file descriptor and clear internal cache on it
/// palloc_close(fd);
/// ```
///
/// Installation
/// ------------
///
/// This library makes use of [dep](https://github.com/finwo/dep) to manage it's
/// dependencies and exports.
///
/// ```sh
/// dep add finwo/palloc
/// ```
///
/// Dependencies:
///
/// - [finwo/assert](https://github.com/finwo/assert.h)
/// - [finwo/canonical-path](https://github.com/finwo/canonical-path.c)
/// - [finwo/endian](https://github.com/finwo/endian.h)

#ifdef __cplusplus
extern "C" {
Expand Down

0 comments on commit 5a8830a

Please sign in to comment.