Subject | Hash | Author | Date (UTC) |
---|---|---|---|
using doc-tool example template | 1c75cbb78775fd0d528147a094c3b20f805b84a3 | mucbuc | 2020-02-17 19:50:54 |
more cleanup | 82ca4986723645867f48f503504ac6deed8d4a05 | Ubuntu | 2020-02-17 13:40:48 |
add test, cleanup | a2645a9707599ac662125ff644b5d4dd89881ba5 | Ubuntu | 2020-02-17 13:32:12 |
swap test | e919a4a6aefa351b25c25855c455979f20fc2dab | Ubuntu | 2020-02-17 13:18:12 |
cleanup | 35969d987323b1960b0c39e9f7236fb45ae3ca59 | Ubuntu | 2020-02-17 13:10:52 |
rm factory | b19fc2ec7f36c80863135390b16b8ec61171c4e3 | Ubuntu | 2020-02-17 13:07:30 |
fix compile error | f5b444d7d69d767bad920bb87c160d7343f8a0ac | mucbuc | 2020-02-17 00:48:56 |
readme | fedc4d45a3e272e41530f8b69e8723458d701cd1 | mucbuc | 2020-02-02 18:31:04 |
fix example | 2fc197494263598841ea301fbac5a3a088d47ab1 | mucbuc | 2020-02-02 05:47:12 |
README.md | caa2c0c6d55d266c560c32a6f06d74700d9dd10d | mucbuc | 2020-02-02 04:44:22 |
fix duped entries | 2afd4d8742f93c8146c32950b617e18d4a994c3c | mucbuc | 2020-02-02 02:37:16 |
generated doc | d568f07b6e4d2171c7e50dd0a8d23a809f30d567 | mucbuc | 2020-02-02 02:35:34 |
clone method | 8ed894a629b78d61421f1b707564756fb0bb4f90 | mucbuc | 2020-01-25 20:01:53 |
siplify example | d3f446eed13921445fd6f16f345e50e873a245e8 | mucbuc | 2020-01-24 14:44:36 |
Edited README.md | c4daca7870daa3a2bcc3cb3a56353b075feeea83 | mark | 2020-01-21 05:25:32 |
Edited README.md | dd5ec0c9fb495adc91a3446c6029e10cbca50741 | mark | 2020-01-21 05:23:48 |
Edited README.md | 7b965f28e6800858cb7250e4a838a11d99aa9146 | mark | 2020-01-21 05:22:23 |
README.md | b04ce36a75a1cc03f592f498320bcbd2487391e3 | Ubuntu | 2020-01-21 05:17:29 |
stack example | 10c89c204a6c7173da4cab531b023e49b43b282f | Ubuntu | 2020-01-21 05:10:05 |
rename namespace | 58de02fbcccc180ddbd895c03fe7615d85079fc2 | mucbuc | 2020-01-19 12:06:11 |
File | Lines added | Lines deleted |
---|---|---|
EXAMPLE.md | 0 | 29 |
README.md | 9 | 11 |
package.json | 1 | 1 |
File EXAMPLE.md deleted (index 0505168..0000000) | |||
1 | const fs = require('fs'), | ||
2 | path = require('path'), | ||
3 | tbt = "```"; | ||
4 | |||
5 | template = ` | ||
6 | ## Example | ||
7 | ${tbt} | ||
8 | #include <tmp/src/test.h> | ||
9 | |||
10 | #include <lib/circuit/src/index.h> | ||
11 | |||
12 | using namespace std; | ||
13 | using namespace om636::circuit; | ||
14 | |||
15 | int main() | ||
16 | { | ||
17 | CircuitStack<int> s; | ||
18 | |||
19 | s.push(88); | ||
20 | s.push(77); | ||
21 | |||
22 | int i; | ||
23 | s.wait_pop(i); | ||
24 | if (s.check_pop(i)) { | ||
25 | |||
26 | } | ||
27 | } | ||
28 | ${tbt} | ||
29 | `; |
File README.md changed (mode: 100644) (index e3a63fb..571dab2) | |||
... | ... | namespace circuit { | |
33 | 33 | ||
34 | 34 | ``` | ``` |
35 | 35 | ||
36 | |||
37 | ## Example | ||
36 | ## Example | ||
38 | 37 | ``` | ``` |
39 | 38 | #include <tmp/src/test.h> | #include <tmp/src/test.h> |
40 | 39 | ||
... | ... | using namespace om636::circuit; | |
45 | 44 | ||
46 | 45 | int main() | int main() |
47 | 46 | { | { |
48 | CircuitStack<int> s; | ||
49 | |||
50 | s.push(88); | ||
51 | s.push(77); | ||
52 | |||
53 | int i; | ||
54 | s.wait_pop(i); | ||
55 | if (s.check_pop(i)) { | ||
56 | |||
47 | auto s = make_stack<int>(); | ||
48 | |||
49 | s->push(88); | ||
50 | s->push(77); | ||
51 | |||
52 | s->wait_pop(i); | ||
53 | if (s->check_pop(i)) { | ||
57 | 54 | } | } |
58 | 55 | } | } |
56 | |||
59 | 57 | ``` | ``` |
60 | 58 |
File package.json changed (mode: 100644) (index 5a7c3ec..0e592be) | |||
9 | 9 | "scripts": { | "scripts": { |
10 | 10 | "test": "crimp -g test/test.json", | "test": "crimp -g test/test.json", |
11 | 11 | "format": "clang-format -i --style=Webkit src/*.h src/impl/*.h src/impl/*.hxx test/src/*.cpp", | "format": "clang-format -i --style=Webkit src/*.h src/impl/*.h src/impl/*.hxx test/src/*.cpp", |
12 | "generateDoc": "doc-tool package_header src_interface ./EXAMPLE.md > README.md" | ||
12 | "generateDoc": "doc-tool package_header src_interface test_example > README.md" | ||
13 | 13 | }, | }, |
14 | 14 | "author": "", | "author": "", |
15 | 15 | "license": "ISC" | "license": "ISC" |