root/oshmem/shmem/fortran/shpdeallc_f.c

/* [<][>][^][v][top][bottom][index][help] */

DEFINITIONS

This source file includes following definitions.
  1. SHMEM_GENERATE_WEAK_BINDINGS

   1 /*
   2  * Copyright (c) 2013      Mellanox Technologies, Inc.
   3  *                         All rights reserved.
   4  * Copyright (c) 2013 Cisco Systems, Inc.  All rights reserved.
   5  * $COPYRIGHT$
   6  *
   7  * Additional copyrights may follow
   8  *
   9  * $HEADER$
  10  */
  11 
  12 #include "oshmem_config.h"
  13 #include "oshmem/shmem/fortran/bindings.h"
  14 #include "oshmem/include/shmem.h"
  15 #include "oshmem/shmem/shmem_api_logger.h"
  16 #include "stdio.h"
  17 
  18 #if OSHMEM_PROFILING
  19 #include "oshmem/shmem/fortran/profile/pbindings.h"
  20 SHMEM_GENERATE_WEAK_BINDINGS(SHPDEALLC, shpdeallc)
  21 #include "oshmem/shmem/fortran/profile/defines.h"
  22 #endif
  23 
  24 SHMEM_GENERATE_FORTRAN_BINDINGS_SUB (void,
  25         SHPDEALLC,
  26         shpdeallc_,
  27         shpdeallc__,
  28         shpdeallc_f,
  29         (FORTRAN_POINTER_T *addr, MPI_Fint *errcode, MPI_Fint *abort),
  30         (addr,errcode,abort) )
  31 
  32 
  33 void shpdeallc_f(FORTRAN_POINTER_T *addr, MPI_Fint *errcode, MPI_Fint *abort)
  34 {
  35     *errcode = 0;
  36     shfree((void *)((uintptr_t)*addr));
  37 }
  38 

/* [<][>][^][v][top][bottom][index][help] */