aboutsummaryrefslogtreecommitdiff
path: root/board/simple_board.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-05-11Improve plugin loading architectureNicholas Tay1-0/+33
This should be better, maybe the variable names could be better though. Init is more extensible, we take in a 'board_data' struct on the plugin end that has everything it needs (mainly function pointers for now). Then, a 'board' struct is given back to the main Clak runtime, with everything it needs to know (again, mainly function pointers). It is a bit weird that the board is not stored with Clak but as a pointer to the dynamically loaded bit, but not sure.