Commit db579f2
feat(sdk): static PJ_DIALOG_PLUGIN variant (no-collision, WASM)
Under PJ_STATIC_PLUGINS many plugins link into one binary; the fixed
`extern "C" PJ_get_dialog_vtable` symbol (+ the ABI-version export) PJ_DIALOG_PLUGIN
emits would collide across them at link. Emit a uniquely class-keyed
pj_static_get_dialog_vtable_<Class>() instead (keeping the dialogVtableFor<Class>
specialization), completing the static-export pattern the other three family
macros already follow. The static registry resolves dialogs by this getter, not
the dlsym entry point.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 2d85541 commit db579f2
1 file changed
Lines changed: 30 additions & 0 deletions
Lines changed: 30 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
303 | 303 | | |
304 | 304 | | |
305 | 305 | | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
0 commit comments