View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000158 | LDMud 3.3 | Runtime | public | 2004-11-26 19:42 | 2022-10-06 19:28 |
Reporter | Assigned To | ||||
Priority | normal | Severity | feature | Reproducibility | N/A |
Status | confirmed | Resolution | open | ||
Summary | 0000158: Add driver compilation options and constants to driver_info() | ||||
Description | We need to a) assemble a list of options/constants in config.h.in, machine.h.in, that are useful to have in LPC b) add that to driver_info() and maybe even to configure_driver if it should be changed/is changeable. --- historic description --- Short: Runtime query of driver compilation options. Date: 981114 Type: Feature State: Proposed Long: The driver should offer a way to query compilation options (like MAX_BITSTRING) at runtime, either via LPC-Predefines, or by an efun returning a mapping. | ||||
Tags | No tags attached. | ||||
|
Ok, I agree, there should be some possibility to know things like compiletime limits. So: should they be a permanent define or should it be something query_driver()? For things which may be often used in a loop a define seems to be more reasonable. But then it breaks consistency to use a define for some things and an efun for others. For things changeable at runtime, the decision is IMHO easy: the efun. And we would need a list of such thing. MAX_BITSTRING_LENGTH does not exist currently, but what else should be added? |
|
I think we settled on the name driver_info() for that efun (similar to object_info() and interactive_info()). :-) |
|
Right, that was the name. :-) I will start that efun with MAX_BITSTRING. Please add suggestions about other information here. |
Date Modified | Username | Field | Change |
---|---|---|---|
2004-11-26 19:42 |
|
New Issue | |
2009-09-28 10:12 | zesstra | Note Added: 0001322 | |
2009-09-29 11:30 | Gnomi | Note Added: 0001341 | |
2009-10-05 16:49 | zesstra | Project | LDMud => LDMud 3.3 |
2009-10-05 16:50 | zesstra | Note Added: 0001479 | |
2009-10-05 16:50 | zesstra | Assigned To | => zesstra |
2009-10-05 16:50 | zesstra | Status | new => assigned |
2021-04-16 16:11 | zesstra | Assigned To | zesstra => |
2021-04-16 16:11 | zesstra | Status | assigned => confirmed |
2021-04-16 16:11 | zesstra | Product Version | 3.2.8 and before => |
2022-10-06 19:28 | zesstra | Summary | Runtime query of driver compilation options. => Add driver compilation options and constants to driver_info() |
2022-10-06 19:28 | zesstra | Description Updated |