gff-mutators.c
/***************************************************************************
 *  Library:
 *      #include <biolibc/gff.h>
 *      -lbiolibc -lxtend
 *
 *  Description:
 *      Mutator for feature_parent member in a bl_gff_t structure.
 *      Use this function to set feature_parent in a bl_gff_t object
 *      from non-member functions.  This function performs a direct
 *      assignment for scalar or pointer structure members.  If
 *      feature_parent is a pointer, data previously pointed to should
 *      be freed before calling this function to avoid memory
 *      leaks.
 *
 *  Arguments:
 *      bl_gff_ptr      Pointer to the structure to set
 *      new_feature_parent The new value for feature_parent
 *
 *  Returns:
 *      BL_GFF_DATA_OK if the new value is acceptable and assigned
 *      BL_GFF_DATA_OUT_OF_RANGE otherwise
 *
 *  Examples:
 *      bl_gff_t        bl_gff;
 *      char *          new_feature_parent;
 *
 *      if ( bl_gff_set_feature_parent(&bl_gff, new_feature_parent)
 *              == BL_GFF_DATA_OK )
 *      {
 *      }
 *
 *  See also:
 *      (3)
 *
 *  History: 
 *  Date        Name        Modification
 *  2022-04-29  gen-get-set Auto-generated from gff.h
 ***************************************************************************/
#include 
-lbiolibc -lxtend

Mutator for feature_parent member in a bl_gff_t structure.
Use this function to set feature_parent in a bl_gff_t object
from non-member functions.  This function performs a direct
assignment for scalar or pointer structure members.  If
feature_parent is a pointer, data previously pointed to should
be freed before calling this function to avoid memory
leaks.

bl_gff_ptr      Pointer to the structure to set
new_feature_parent The new value for feature_parent

BL_GFF_DATA_OK if the new value is acceptable and assigned
BL_GFF_DATA_OUT_OF_RANGE otherwise








#include - lbiolibc - lxtend Mutator for feature_parent member in a bl_gff_t structure . Use this function to set feature_parent in a bl_gff_t object from non - member functions . This function performs a direct assignment for scalar or pointer structure members . If feature_parent is a pointer data previously pointed to should be freed before calling this function to avoid memory leaks . bl_gff_ptr Pointer to the structure to set new_feature_parent The new value for feature_parent BL_GFF_DATA_OK if the new value is acceptable and assigned BL_GFF_DATA_OUT_OF_RANGE otherwise
int     bl_gff_set_feature_parent(bl_gff_t *bl_gff_ptr, char * new_feature_parent)
{
    if ( new_feature_parent == NULL )
	return BL_GFF_DATA_OUT_OF_RANGE;
    else
    {
	bl_gff_ptr->feature_parent = new_feature_parent;
	return BL_GFF_DATA_OK;
    }
}
int bl_gff_set_feature_parent ( bl_gff_t * bl_gff_ptr , char * new_feature_parent ) { if ( new_feature_parent == NULL ) return BL_GFF_DATA_OUT_OF_RANGE ; else { bl_gff_ptr -> feature_parent = new_feature_parent ; return BL_GFF_DATA_OK ; } }
Library:
      #include <biolibc/gff.h>
      -lbiolibc -lxtend
Library : #include <biolibc / gff . h > - lbiolibc - lxtend