Derived data type pointer? -


i'm trying convert c code fortran 90. there way in fortran define derived data type pointer? code below example of i'm talking about.

typedef struct _rkmatrix rkmatrix; typedef rkmatrix *prkmatrix; 

the struct _rkmatrix defined outside snippet of code.

example declarations linked list:

type mycustom_type    real :: value    type (mycustom_type), pointer :: next => null () end type mycustom_type  type (mycustom_type), pointer :: head_of_list 

Comments

Popular posts from this blog

sql server - NHibernate incorrectly creating ManyToMany table - Cannot define PRIMARY KEY constraint on nullable column error -

All overlapping substrings matching a java regex -

c++ - Using OpenSSL in a multi-threaded application -