diff options
| author | Slávek Banko <slavek.banko@axis.cz> | 2021-03-26 13:52:33 +0100 | 
|---|---|---|
| committer | Slávek Banko <slavek.banko@axis.cz> | 2021-03-26 13:52:33 +0100 | 
| commit | 0f27805eedcc40ae34009aa31a4dc08cb949f867 (patch) | |
| tree | 8b1c8995d7fdab97acde4bd7c63f96d378c34d02 /debian/pyrex/pyrex-0.9.9/Pyrex/Compiler/Naming.py | |
| parent | bad411472a12b93f8bfca6b7ca52d89488a8d8ce (diff) | |
| download | extra-dependencies-0f27805eedcc40ae34009aa31a4dc08cb949f867.tar.gz extra-dependencies-0f27805eedcc40ae34009aa31a4dc08cb949f867.zip | |
DEB pyrex: Added to repository.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'debian/pyrex/pyrex-0.9.9/Pyrex/Compiler/Naming.py')
| -rw-r--r-- | debian/pyrex/pyrex-0.9.9/Pyrex/Compiler/Naming.py | 69 | 
1 files changed, 69 insertions, 0 deletions
| diff --git a/debian/pyrex/pyrex-0.9.9/Pyrex/Compiler/Naming.py b/debian/pyrex/pyrex-0.9.9/Pyrex/Compiler/Naming.py new file mode 100644 index 00000000..61076a81 --- /dev/null +++ b/debian/pyrex/pyrex-0.9.9/Pyrex/Compiler/Naming.py @@ -0,0 +1,69 @@ +# +#   Pyrex - C naming conventions +# +# +#   Prefixes for generating C names. +#   Collected here to facilitate ensuring uniqueness. +# + +pyrex_prefix    = "__pyx_" + +arg_prefix        = pyrex_prefix + "arg_" +funcdoc_prefix    = pyrex_prefix + "doc_" +enum_prefix       = pyrex_prefix + "e_" +func_prefix       = pyrex_prefix + "f_" +gstab_prefix      = pyrex_prefix + "getsets_" +prop_get_prefix   = pyrex_prefix + "getprop_" +const_prefix      = pyrex_prefix + "k" +label_prefix      = pyrex_prefix + "L" +pymethdef_prefix  = pyrex_prefix + "mdef_" +methtab_prefix    = pyrex_prefix + "methods_" +memtab_prefix     = pyrex_prefix + "members_" +interned_prefix   = pyrex_prefix + "n_" +objstruct_prefix  = pyrex_prefix + "obj_" +typeptr_prefix    = pyrex_prefix + "ptype_" +prop_set_prefix   = pyrex_prefix + "setprop_" +type_prefix       = pyrex_prefix + "t_" +typeobj_prefix    = pyrex_prefix + "type_" +var_prefix        = pyrex_prefix + "v_" +vtable_prefix     = pyrex_prefix + "vtable_" +vtabptr_prefix    = pyrex_prefix + "vtabptr_" +vtabstruct_prefix = pyrex_prefix + "vtabstruct_" + +args_cname       = pyrex_prefix + "args" +kwdlist_cname    = pyrex_prefix + "argnames" +obj_base_cname   = pyrex_prefix + "base" +builtins_cname   = pyrex_prefix + "b" +moddict_cname    = pyrex_prefix + "d" +default_prefix   = pyrex_prefix + "d" +dummy_cname      = pyrex_prefix + "dummy" +filename_cname   = pyrex_prefix + "filename" +filetable_cname  = pyrex_prefix + "f" +filenames_cname  = pyrex_prefix + "filenames" +fileinit_cname   = pyrex_prefix + "init_filenames" +intern_tab_cname = pyrex_prefix + "intern_tab" +kwds_cname       = pyrex_prefix + "kwds" +lineno_cname     = pyrex_prefix + "lineno" +module_cname     = pyrex_prefix + "m" +moddoc_cname     = pyrex_prefix + "mdoc" +methtable_cname  = pyrex_prefix + "methods" +retval_cname     = pyrex_prefix + "r" +reqd_kwds_cname  = pyrex_prefix + "reqd_kwds" +self_cname       = pyrex_prefix + "self" +stringtab_cname  = pyrex_prefix + "string_tab" +vtabslot_cname   = pyrex_prefix + "vtab" + +extern_c_macro  = pyrex_prefix.upper() + "EXTERN_C" + +exc_type_name   = pyrex_prefix + "exc_type" +exc_value_name  = pyrex_prefix + "exc_value" +exc_tb_name     = pyrex_prefix + "exc_tb" +exc_lineno_name = pyrex_prefix + "exc_lineno" + +exc_vars = (exc_type_name, exc_value_name, exc_tb_name) + +api_name        = pyrex_prefix + "capi__" + +h_guard_prefix   = "__PYX_HAVE__" +api_guard_prefix = "__PYX_HAVE_API__" +api_func_guard   = "__PYX_HAVE_API_FUNC_" | 
