PyCodec_Register

Register a new codec search function.

As side effect, this tries to load the encodings package, if not yet done, to make sure that it is always first in the list of search functions.

The search_function's refcount is incremented by this function.

extern (C)
int
PyCodec_Register

Meta