catalyst icon indicating copy to clipboard operation
catalyst copied to clipboard

Move `get_c_interface` into toml files.

Open erick-xanadu opened this issue 1 year ago • 2 comments

Soon after specifying toml files, we can have a the C interface also defined in the toml file. It makes sense to have all this information in one place.

erick-xanadu avatar Dec 11 '23 15:12 erick-xanadu

Does that make sense? I think the reason it was made a function call is so that the device can compute the correct location of the library at runtime.

I suppose knowing where the config file is would be sufficient to then describe a relative path to the shared library in the toml, assuming I'm not missing something 🤔

dime10 avatar Jun 25 '24 20:06 dime10

I suppose knowing where the config file is would be sufficient to then describe a relative path to the shared library in the toml, assuming I'm not missing something 🤔

Yep!

erick-xanadu avatar Jun 25 '24 20:06 erick-xanadu