We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9de7a8e commit 4b5977eCopy full SHA for 4b5977e
godot-codegen/src/central_generator.rs
@@ -301,7 +301,7 @@ fn make_indexed_method_table(info: IndexedMethodTable) -> TokenStream {
301
#imports
302
303
pub struct #table_name {
304
- function_pointers: [#fptr_type; #method_count],
+ function_pointers: Vec<#fptr_type>,
305
}
306
307
impl #table_name {
@@ -315,7 +315,7 @@ fn make_indexed_method_table(info: IndexedMethodTable) -> TokenStream {
315
#pre_init_code
316
317
Self {
318
- function_pointers: [
+ function_pointers: vec![
319
#( #method_inits )*
320
]
321
0 commit comments