endurox.Bmkfldid

endurox.Bmkfldid(type: int, num: int) int

Create field identifier (compiled id) from field type and field number.

For more details see Bmkfldid(3) C API call.

Parameters:
  • type (type) –

    Field type, one of: BFLD_CHAR,
    BFLD_SHORT, BFLD_LONG, BFLD_FLOAT
    BFLD_DOUBLE, BFLD_STRING, BFLD_CARRAY,
    BFLD_PTR, BFLD_UBF, BFLD_VIEW

  • num (int) – Field number.

Returns:

fldid – Compiled field id.

Return type:

int