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

Glib GIOChannel -

delphi - When I encode/decode SMS PDU (GSM 7 Bit) user data, do I need prepend the UDH first? -

python - Obscure curses error message when creating a sub window -