File tree Expand file tree Collapse file tree 1 file changed +0
-25
lines changed Expand file tree Collapse file tree 1 file changed +0
-25
lines changed Original file line number Diff line number Diff line change @@ -42,19 +42,6 @@ static void entity_updated_at(const extractor &input, infusor &output)
42
42
43
43
// *** ***
44
44
45
- typedef void (*fn_t )(const extractor &input, infusor &output);
46
-
47
- struct fendpoint {
48
-
49
- fendpoint (std::string name, fn_t fn) : name(name), fn(fn) {}
50
-
51
- std::string name;
52
- fn_t fn;
53
- };
54
-
55
- const std::vector<fendpoint> funcs = {
56
- };
57
-
58
45
// glue "globals"
59
46
std::once_flag init_flag;
60
47
static glue::registry *methods = nullptr ;
@@ -200,18 +187,6 @@ void mexFunction(int nlhs,
200
187
}
201
188
#endif
202
189
203
- for (const auto &fn : funcs) {
204
-
205
- if (processed) {
206
- break ;
207
- }
208
-
209
- if (fn.name == cmd) {
210
- fn.fn (input, output);
211
- processed = true ;
212
- }
213
- }
214
-
215
190
}
216
191
catch (const std::invalid_argument &e) {
217
192
mexErrMsgIdAndTxt (" nix:arg:inval" , e.what ());
You can’t perform that action at this time.
0 commit comments