Update doc

This commit is contained in:
Patrick Pelissier committed 2023-03-24 21:12:28 +01:00
1 parent 16a0a5c1a3
commit 085f371693
1 file changed
+4 -1
+4 -1
View File
@@ -802,7 +802,7 @@ exports all needed methods to handle generic input/output of int/floats
This explains why JSON import/export is only available in C11 mode This explains why JSON import/export is only available in C11 mode
(See below chapter). (See below chapter).
Basic usage of oplist is availble in the [example](https://github.com/P-p-H-d/mlib/blob/master/example/ex-array00.c) Basic usage of oplist is available in the [example](https://github.com/P-p-H-d/mlib/blob/master/example/ex-array00.c)
### Oplist inheritance ### Oplist inheritance
@@ -837,6 +837,9 @@ MY\_INT\_OPLIST is a new oplist that handles integers but has disabled the opera
The main interest is to disable the generation of optional methods of a container (since they are only The main interest is to disable the generation of optional methods of a container (since they are only
expanded if the oplist provides some methods). expanded if the oplist provides some methods).
Usage of inheritance and oplist is available in the [int example](https://github.com/P-p-H-d/mlib/blob/master/example/ex-dict05.c)
and the [cstr example](https://github.com/P-p-H-d/mlib/blob/master/example/ex-dict06.c)
### Advanced example ### Advanced example