ES2 MUD LIB :: 東方故事二(ES2) 天朝帝國 mudlib 瀏覽展示
/doc/applies/master/valid_compile_to_c
vvvvaaaalllliiiidddd____ccccoooommmmppppiiiilllleeee____ttttoooo____cccc((((4444)))) MMMMuuuuddddOOOOSSSS ((((5555 SSSSeeeepppp 1111999999994444)))) vvvvaaaalllliiiidddd____ccccoooommmmppppiiiilllleeee____ttttoooo____cccc((((4444))))
NNNNAAAAMMMMEEEE
valid_compile_to_c - controls whether or not an object may
be compiled via LPC->C at runtime
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
int valid_compile_to_c( string file );
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
When the driver is compiled with LPC_TO_C and
RUNTIME_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".
Page 1 (printed 3/16/95)