
    ; j|                        % S r SSKJr  SSKrSSKrSSKJrJr  SSKJ	r	J
r
  SSKJr  \
rS\S'   \	 V s0 s H  o R                  U _M     sn rS	\S
'   SS jrSS jrgs  sn f )u*  Per-header descriptor, registry, and platform-aware accessors.

The canonical authored data lives in :mod:`header_descriptor_catalog`. This
module provides a name-keyed registry and platform-dispatch helpers consumed
by the runtime search path — keeping the search code itself platform-agnostic.
    )annotationsN)	TypeAliascast)HEADER_DESCRIPTOR_CATALOGHeaderDescriptorSpec)
IS_WINDOWSr   HeaderDescriptorzdict[str, HeaderDescriptor]HEADER_DESCRIPTORSc                    [         (       a0  [        [        [        S4   U R                  U R
                  -   5      $ [        [        [        S4   U R
                  5      $ )zReturn the effective include subdirectory search list for the current platform.

On Windows, Windows-specific subdirs are checked first, followed by the
common subdirs.  On Linux, only the common subdirs are returned.
.)r   r   tuplestrinclude_subdirs_windowsinclude_subdirsdescs    {/root/GenerationalWealth/GenerationalWealth/venv/lib/python3.13/site-packages/cuda/pathfinder/_headers/header_descriptor.pyplatform_include_subdirsr      sJ     zE#s(OT%A%ADDXDX%XYYc3h!5!566    c                   [         (       aH  [        R                  R                  US5      n[        R                  R	                  U5      (       a  U$ S$ U R
                  (       ao  [        R                  " [        R                  R                  USSS5      5      nU(       a  [        U5      S:w  a  g[        R                  R                  US   5      $ U$ )zResolve the conda anchor point for header search on the current platform.

Returns the directory that ``_locate_in_anchor_layout`` should use as
*anchor_point*, or ``None`` if the conda layout is not usable.
LibraryNtargets*include   r   )	r   ospathjoinisdirconda_targets_layoutgloblendirname)r   conda_prefixanchortargets_include_paths       r   resolve_conda_anchorr&   (   s     zlI6v..v8D8  #yylIsT])^_#s+?'@A'Eww3A677r   )r   r	   returnztuple[str, ...])r   r	   r#   r   r'   z
str | None)__doc__
__future__r   r    r   typingr   r   2cuda.pathfinder._headers.header_descriptor_catalogr   r   %cuda.pathfinder._utils.platform_awarer   r	   __annotations__namer
   r   r&   r   s   0r   <module>r/      sd    #  	 " =2 ) 2 Pi2iOht99d?Oh2i / i7 3js   A