(gateType uint64, inputs ...frontend.Variable)
| 225 | } |
| 226 | |
| 227 | func (builder *builder) CustomGate(gateType uint64, inputs ...frontend.Variable) frontend.Variable { |
| 228 | hintInputs := builder.toVariableIds(inputs...) |
| 229 | |
| 230 | builder.instructions = append(builder.instructions, |
| 231 | irsource.Instruction{ |
| 232 | Type: irsource.CustomGate, |
| 233 | ExtraId: gateType, |
| 234 | Inputs: hintInputs, |
| 235 | }, |
| 236 | ) |
| 237 | return builder.addVar() |
| 238 | } |
| 239 | |
| 240 | // assertIsSet |
| 241 |
nothing calls this directly
no test coverage detected