C/C++ Question Pass reference/instance of an existing B4R library to constructor

Similar threads

B4R Tutorial Arduino + Raspberry Pi
B4R Tutorial Creating libraries for B4R
B4R Library LiquidCrystal_I2C
B4R Tutorial LCD Clock example
B4R Tutorial LCD Bar Graph

Johan Schoeman

Licensed User
RLiquidCrystal is an existing library in B4R. How would one wrap the below constructor to pass it to a wrapper for LcdBarGraph and how would one then pass rLiquidCrystal from B4R to LcdBarGraph?

// -- constructor
LcdBarGraph::LcdBarGraph(LiquidCrystal* lcd, byte numCols, byte startX, byte startY)