valid_compile_to_c(4) Driver Applies valid_compile_to_c(4)
NNAAMMEE
valid_compile_to_c - controls whether or not an object may
be compiled via LPC->C at runtime
SSYYNNOOPPSSIISS
int valid_compile_to_c( string file );
DDEESSCCRRIIPPTTIIOONN
When the driver is compiled with LPC_TO_C and RUN-
TIME_LOADING defined, valid_compile_to_c will be called in
the master object whenever a program loads whose name ends
in ".C" instead of ".c". If it returns 1, the program
compiles to C. If it returns 0, it compiles as a normal
LPC object. The name is passed including the trailing
".C".
MudOS 5 Sep 1994 1