Find a way, the following code seems fine. proc p2(x: int) = echo x proc p2(x: string) = echo x let t1: proc(x: int) {.nimcall.} = p2 let t2: proc(x: string) {.nimcall.} = p2 t1(10) t2("string") echo toHex(cast[int](t1)) echo toHex(cast[int](t2)) Run
- How to get the address of an proc with same name and different pa... slangmgh
- Re: How to get the address of an proc with same name and dif... slangmgh