IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 14, 2015, 6:12:37 PM (11 years ago)
Author:
eugene
Message:

add some alloc functions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/libfits/matrix/F_create_M.c

    r38460 r39270  
    4343}
    4444
     45/*********************** fits create matrix *******************************/
     46Matrix *gfits_alloc_matrix (void) {
     47
     48  Matrix *matrix = NULL;
     49  ALLOCATE (matrix, Matrix, 1);
     50  gfits_init_matrix (matrix);
     51  return matrix;
     52}
     53
    4554/*********************** return number of valid pixels *******************************/
    4655off_t gfits_npix_matrix (Matrix *matrix) {
Note: See TracChangeset for help on using the changeset viewer.