Kaydet (Commit) 7c46a920 authored tarafından Guido van Rossum's avatar Guido van Rossum

New style interface via pointer variable.

üst cfd0a222
...@@ -39,11 +39,12 @@ static unsigned char M___hello__[] = { ...@@ -39,11 +39,12 @@ static unsigned char M___hello__[] = {
63, 63,
}; };
struct frozen { static struct _frozen _PyImport_FrozenModules[] = {
char *name;
unsigned char *code;
int size;
} _PyImport_FrozenModules[] = {
{"__hello__", M___hello__, 81}, {"__hello__", M___hello__, 81},
{0, 0, 0} /* sentinel */ {0, 0, 0} /* sentinel */
}; };
/* Embedding apps may change this pointer to point to their favorite
collection of frozen modules: */
struct _frozen *PyImport_FrozenModules = _PyImport_FrozenModules;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment