def wnfild(small, window):
    """
    Fill small gaps between adjacent intervals of a double precision window.

    http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/wnfild_c.html

    :param small: Limiting measure of small gaps. 
    :type small: float
    :param window: Window to be filled 
    :type window: spiceypy.utils.support_types.SpiceCell
    :return: Filled Window.
    :rtype: spiceypy.utils.support_types.SpiceCell
    """
    assert isinstance(window, stypes.SpiceCell)
    assert window.dtype == 1
    small = ctypes.c_double(small)
    libspice.wnfild_c(small, ctypes.byref(window))
    return window