clipspy-1.0.0/clips/values.py
def clips_value(env: ffi.CData, value: type = ffi.NULL) -> ffi.CData:
    """Convert a Python value into CLIPS.

    If no value is provided, an empty value is returned.

    """
    val = ffi.new("CLIPSValue *")

    if value is not ffi.NULL:
        val.value = CLIPS_VALUES.get(type(value))(env, value)

    return val
Convert a Python value into CLIPS.

    If no value is provided, an empty value is returned.

    
Convert a Python value into CLIPS.
If no value is provided, an empty value is returned.
Convert a Python value into CLIPS . If no value is provided an empty value is returned .
def clips_value(env: ffi.CData, value: type = ffi.NULL) -> ffi.CData:
    val = ffi.new("CLIPSValue *")
    if value is not ffi.NULL:
        val.value = CLIPS_VALUES.get(type(value))(env, value)
    return val
def clips_value ( env : ffi . CData , value : type = ffi . NULL ) -> ffi . CData : val = ffi . new ( "CLIPSValue *" ) if value is not ffi . NULL : val . value = CLIPS_VALUES . get ( type ( value ) ) ( env , value ) return val
Convert a Python value into CLIPS.
Convert a Python value into CLIPS .
"""Convert a Python value into CLIPS.

    If no value is provided, an empty value is returned.

    """
env
ffi.CData
value
type