From 928f78d5efc7af10ba6dd6e35fbc879a5d02b11c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20=C4=8Cert=C3=ADk?= Date: Thu, 4 Jan 2024 13:31:22 -0700 Subject: [PATCH 1/2] Update LFortran to 0.30.0 --- utils/commit.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/commit.json b/utils/commit.json index 044453d..d39e93e 100644 --- a/utils/commit.json +++ b/utils/commit.json @@ -1,4 +1,4 @@ { - "id": "c82debe8b", + "id": "7d0be2af5", "build_type": "release" } From 180c1e027e05155c02d4d5ab3b72a08a20c72eb7 Mon Sep 17 00:00:00 2001 From: Shaikh Ubaid Date: Fri, 5 Jan 2024 05:45:27 +0530 Subject: [PATCH 2/2] Update bind(c) to bind(js) in mandelbrot --- utils/preinstalled_programs.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/preinstalled_programs.js b/utils/preinstalled_programs.js index 1134117..bd89d94 100644 --- a/utils/preinstalled_programs.js +++ b/utils/preinstalled_programs.js @@ -16,11 +16,11 @@ end program`, integer :: image(Nx,Ny), image_color(4,Nx,Ny), palette(3,4), i, j, n, idx real(dp) :: x, y, x_0, y_0, x_sqr, y_sqr interface - subroutine show_img(w, h, A) bind(c) + subroutine show_img(w, h, A) bind(js) integer, intent(in) :: w, h integer, intent(in) :: A(w,h) end subroutine - subroutine show_img_color(w, h, A) bind(c) + subroutine show_img_color(w, h, A) bind(js) integer, intent(in) :: w, h integer, intent(in) :: A(4,w,h) end subroutine