pike.git / src / post_modules / Nettle / hash.cmod

version» Context lines:

pike.git/src/post_modules/Nettle/hash.cmod:468:    program_flags PROGRAM_USES_PARENT|PROGRAM_NEEDS_PARENT|PROGRAM_CLEAR_STORAGE;    {    DOCSTART() @decl inherit Hash::State    DOCEND()       EXTRA    {    /* Perform an inherit of the State class (if any) that our parent    * may contain via its inherit of __builtin.Nettle.Hash.    */ -  inherit_internal_class(MK_STRING("State")); +  lexical_inherit(1, MK_STRING("State"), 0, REPORT_ERROR);    }      #define GET_META(o) \    ( ((struct Nettle_Hash_struct *)parent_storage(1, Nettle_Hash_program))->meta )       CVAR void *ctx;       /* FIXME: Create should copy state from the other object, if    * provided. */