Commit 27c814f
committed
purego: fix string argument processing in RegisterFunc
Use the correct loop variable 'val' instead of 'v' when converting string
arguments to C strings. This ensures each string argument is properly
converted rather than repeatedly using the same outer scope variable.1 parent 1f4c6dd commit 27c814f
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
287 | 287 | | |
288 | 288 | | |
289 | 289 | | |
290 | | - | |
| 290 | + | |
291 | 291 | | |
292 | 292 | | |
293 | 293 | | |
| |||
0 commit comments