Skip to content
Snippets Groups Projects
Commit a07489cd authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

*** empty log message ***

parent 52880c01
No related branches found
No related tags found
No related merge requests found
gcc gl2ps_f77.c -c
g77 main.f gl2ps_f77.o
#include <stdlib.h>
#include <stdio.h>
double gl2psbp_(double *x){
/*
call the real gl2psBeginPage();
*/
return *x * 2;
}
program example
external gl2psbp
real*8 x, y
x = 1.23
y = gl2psbp(x)
print *, x, y
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment