Subject | Hash | Author | Date (UTC) |
---|---|---|---|
example -> examples | 6e18d33ac4042aa1f6b2b0be43716a4e6f9e759d | mucbuc | 2023-09-19 04:15:23 |
use ccargs | adcd3984192fc30e59efb78d40e5508d4f1f6fc4 | Ubuntu | 2020-04-30 01:16:24 |
rename make_Emitter to make_emitter" | 017284c1e2d4c091fed6b7b5f1306b3383b6901b | Ubuntu | 2020-04-05 19:52:05 |
add example to readmoe | c2c4ed765ee7dd712c162c20ac0c1d3d3499751f | Ubuntu | 2020-04-05 19:47:45 |
update docs | a89d96892206a6a281b8d9cb1368fe988aaa27f9 | Ubuntu | 2020-04-05 14:50:37 |
format | c58ef6976403562680e0b0269a755c5fceb1ba80 | Ubuntu | 2020-04-05 14:49:14 |
example compiles | 09813351d496f097d6ea16aef3aa12c7f7e09baf | Ubuntu | 2020-04-05 14:48:43 |
index.h | 205cb1dc1ea3f9b21ec254a72e77fdff6d251acf | Ubuntu | 2020-04-05 14:34:22 |
disable example test | 089829ef81a8ad7a44851081c6bd62f7b19ea3e9 | Ubuntu | 2020-03-30 04:09:17 |
break build with example | 3fc9415f7897964c3a996717877e4b09b5ed8404 | Ubuntu | 2020-03-28 11:08:32 |
working on example | 31bcff3ed50891df5021c3c9f226e49705927e96 | mucbuc | 2020-03-20 03:23:07 |
update readme | eed9ed92196460256a53e6d2fb147ea42550ed6d | mucbuc | 2020-02-24 12:39:08 |
use pragma once | 87760dc750c951c5f1e7438a514ad73036058f6b | mucbuc | 2020-02-17 01:02:08 |
update dynamo/circuit | 8ff53cef8d7573b1a846d699614edacd09e68889 | mucbuc | 2020-02-17 00:59:36 |
update dynamo and circuit | 672bd2e329424816373f463183415e08cb858543 | mucbuc | 2020-02-17 00:52:40 |
format, update | cb54c865eff013e4abb6ef86c54814b52b46257e | mucbuc | 2020-02-14 05:36:21 |
gen docs | c9de816e21d2953c7ac4e73f0be3ccd440c84381 | mucbuc | 2020-02-12 14:13:08 |
rm twice-size | dc7df761559ee90e089ff274290da3628f429a30 | mucbuc | 2020-02-12 13:43:34 |
update libs | 177bc958e60841f894a4c9c4d5758db38e07a5c3 | mucbuc | 2020-02-12 13:22:59 |
once tests | 9aae5bf8c8a46439e7b350c4166c1be22c6028bf | mucbuc | 2020-01-20 20:08:50 |
File | Lines added | Lines deleted |
---|---|---|
test/examples.json | 0 | 0 |
test/src/example.cpp | 2 | 4 |
test/tests.json | 1 | 1 |
File test/examples.json renamed from test/example.json (similarity 100%) |
File test/src/example.cpp changed (mode: 100644) (index 11adcfd..0e1d247) | |||
1 | 1 | #include <iostream> | #include <iostream> |
2 | |||
3 | 2 | #include <tmp/src/test.h> | #include <tmp/src/test.h> |
4 | |||
5 | 3 | #include <lib/ohm/src/index.h> | #include <lib/ohm/src/index.h> |
6 | 4 | ||
7 | 5 | int main() | int main() |
... | ... | int main() | |
10 | 8 | using namespace std; | using namespace std; |
11 | 9 | ||
12 | 10 | auto e = make_emitter<string, int>(); | auto e = make_emitter<string, int>(); |
13 | auto l = e->on("run", [](int) { | ||
14 | std::cout << "run" << std::endl; | ||
11 | auto l = e->on("run", [](int v) { | ||
12 | cout << "run " << v << endl; | ||
15 | 13 | }); | }); |
16 | 14 | e->interupt("run", 4); | e->interupt("run", 4); |
17 | 15 | return 0; | return 0; |
File test/tests.json changed (mode: 100644) (index a7d4ec9..e02c83a) | |||
11 | 11 | "on_while_emit.json", | "on_while_emit.json", |
12 | 12 | "once_while_emit.json", | "once_while_emit.json", |
13 | 13 | "once_while_emit_recursive.json", | "once_while_emit_recursive.json", |
14 | "example.json" | ||
14 | "examples.json" | ||
15 | 15 | ] } | ] } |