chore(legacy): comment-out legacy v1 exports (nyash_plugin_invoke/abi/init) across first-party plugins; retain only TypeBox v2 path; remove legacy plugin loader and C-ABI nyash-file

This commit is contained in:
Selfhosting Dev
2025-09-17 22:49:53 +09:00
parent b420929f53
commit b8e454963a
19 changed files with 263 additions and 251 deletions

View File

@ -45,6 +45,7 @@ pub extern "C" fn nyash_plugin_init() -> i32 {
NYB_SUCCESS
}
/* legacy v1 entry removed
#[no_mangle]
pub extern "C" fn nyash_plugin_invoke(
type_id: u32,
@ -123,6 +124,7 @@ pub extern "C" fn nyash_plugin_invoke(
}
}
}
*/
// ===== TLV helpers =====
fn write_tlv_result(payloads: &[(u8, &[u8])], result: *mut u8, result_len: *mut usize) -> i32 {