Crossfire Server, Trunk  R20805
pycode_cache_entry Struct Reference
+ Collaboration diagram for pycode_cache_entry:

Data Fields

time_t cached_time
 
PyCodeObject * code
 
sstring file
 
time_t used_time
 

Detailed Description

One compiled script, cached in memory.

Definition at line 73 of file cfpython.c.

Field Documentation

◆ cached_time

time_t pycode_cache_entry::cached_time

Time this cache entry was created.

Definition at line 76 of file cfpython.c.

Referenced by compilePython(), and postInitPlugin().

◆ code

PyCodeObject* pycode_cache_entry::code

Compiled code, NULL if there was an error.

Definition at line 75 of file cfpython.c.

Referenced by compilePython(), and postInitPlugin().

◆ file

sstring pycode_cache_entry::file

Script full path.

Definition at line 74 of file cfpython.c.

Referenced by compilePython(), and postInitPlugin().

◆ used_time

time_t pycode_cache_entry::used_time

Last use of this cache entry.

Definition at line 76 of file cfpython.c.

Referenced by postInitPlugin().


The documentation for this struct was generated from the following file: