[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[MiNT] SLB implementation
Hi,
Toshyp say:
"From MagiC 6 onwards the library is passed a normal 'C' character string in the command line structure which contains the complete path of the shared library. If the shared library has to load configuration or RSC files, the path can be extracted and the filename of the configuration file assembled correspondingly."
It's unclear wether or not this refers to slb_init() or slb_open(), but the former is later referred to as slb_init(void), so I assume it's the latter. However, it seems the path is not passed in pb->cmdlin as indicated in tos.hyp.
So, is the intention to match the behavior of MagiC 6? This feature is useful, since it allows SLBs to have a configuration file (or RSC) in the directory from which the SLB was actually loaded. Without this feature, I'm forced to using some other location (i.e. /c/, or the location of the binary which opened the SLB).
-- PeP