Branch: Tag:

2014-03-29

2014-03-29 12:57:43 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Nettle: Specify a base name to precompile.

The internal C-level symbols generated by precompile are now
prefixed with "Nettle_" or "NETTLE_".

12:   {    DOCSTART() @decl inherit Hash    DOCEND() -  INHERIT Hash; +  INHERIT Nettle_Hash;       INIT    { -  struct Hash_struct *hash; -  ASSIGN_CURRENT_STORAGE(hash, struct Hash_struct, 1, Hash_program); +  struct Nettle_Hash_struct *hash; +  ASSIGN_CURRENT_STORAGE(hash, struct Nettle_Hash_struct, 1, +  Nettle_Hash_program);       werror(cmod_STRFY_EVAL(PIKE_NAME) "->INIT\n");   
62:       INIT    { -  struct Hash_State_struct *instance; -  ASSIGN_CURRENT_STORAGE(instance, struct Hash_State_struct, 1, -  Hash_State_program); +  struct Nettle_Hash_State_struct *instance; +  ASSIGN_CURRENT_STORAGE(instance, struct Nettle_Hash_State_struct, 1, +  Nettle_Hash_State_program);       werror(cmod_STRFY_EVAL(PIKE_NAME) ".State->INIT\n");