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

Get struct _frozen defn from Python.h; new variable names.

üst 2bd37e6c
......@@ -4,15 +4,15 @@ import marshal
# Write a file containing frozen code for the modules in the dictionary.
header = """
struct frozen {
char *name;
unsigned char *code;
int size;
} frozen_modules[] = {
#include "Python.h"
static struct _frozen _PyImport_FrozenModules[] = {
"""
trailer = """\
{0, 0, 0} /* sentinel */
};
struct _frozen *PyImport_FrozenModules = _PyImport_FrozenModules;
"""
def makefreeze(outfp, dict):
......
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