Skip to content

Commit 180c1e0

Browse files
committed
Update bind(c) to bind(js) in mandelbrot
1 parent 928f78d commit 180c1e0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

utils/preinstalled_programs.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ end program`,
1616
integer :: image(Nx,Ny), image_color(4,Nx,Ny), palette(3,4), i, j, n, idx
1717
real(dp) :: x, y, x_0, y_0, x_sqr, y_sqr
1818
interface
19-
subroutine show_img(w, h, A) bind(c)
19+
subroutine show_img(w, h, A) bind(js)
2020
integer, intent(in) :: w, h
2121
integer, intent(in) :: A(w,h)
2222
end subroutine
23-
subroutine show_img_color(w, h, A) bind(c)
23+
subroutine show_img_color(w, h, A) bind(js)
2424
integer, intent(in) :: w, h
2525
integer, intent(in) :: A(4,w,h)
2626
end subroutine

0 commit comments

Comments
 (0)