Crossfire Server, Trunk  R20576
Data Fields
pycode_cache_entry Struct Reference

One compiled script, cached in memory. More...

Collaboration diagram for pycode_cache_entry:
Collaboration graph

Data Fields

time_t cached_time
 Time this cache entry was created. More...
 
PyCodeObject * code
 Compiled code, NULL if there was an error. More...
 
sstring file
 Script full path. More...
 
time_t used_time
 Last use of this cache entry. More...
 

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: