Syntax '*ptr = Structure.init' requires opAssign operator, get rid of this... #26

Merged
mmcomando merged 1 commit from improve_component_init into master 2022-10-31 19:35:26 +01:00

1 commit

Author SHA1 Message Date
c0246ce2af Syntax '*ptr = Structure.init' requires opAssign operator, get rid of this requirement by using malloc.
This is useful when component is defined in another shared library and we use '-fvisibility=hidden', in that case opAssign is hidden and we will get 'undefined symbol'
2022-10-27 23:29:50 +02:00