| 84 | // Add a method to the class. |
| 85 | |
| 86 | void addMethod( |
| 87 | const char *name, |
| 88 | BaseSignature *signature = nullptr, |
| 89 | funcPtr ptr = nullptr, |
| 90 | unsigned int num = 0, |
| 91 | TypeFlags flags = TypeFlags::none |
| 92 | ) { |
| 93 | methodList.emplace_after(methodLast, name, ptr, num, signature, flags); |
| 94 | ++methodLast; |
| 95 | } |
| 96 | |
| 97 | std::forward_list<MethodDef> &getMethodList() { return(methodList); } |
| 98 |
nothing calls this directly
no outgoing calls
no test coverage detected