Bladeren bron

Merge pull request #36 from bmx-ng/task/fix-ilbm-build

Fixed build issue.
Brucey 7 maanden geleden
bovenliggende
commit
12b189f234
4 gewijzigde bestanden met toevoegingen van 10 en 9 verwijderingen
  1. 1 1
      ilbm.mod/common.bmx
  2. 4 4
      ilbm.mod/glue.c
  3. 4 3
      ilbm.mod/ilbm.bmx
  4. 1 1
      ilbm.mod/source.bmx

+ 1 - 1
ilbm.mod/common.bmx

@@ -1,4 +1,4 @@
-' Copyright (c) 2022 Bruce A Henderson
+' Copyright (c) 2022-2025 Bruce A Henderson
 ' 
 ' Permission is hereby granted, free of charge, to any person obtaining a copy
 ' of this software and associated documentation files (the "Software"), to deal

+ 4 - 4
ilbm.mod/glue.c

@@ -1,5 +1,5 @@
 /*
-  Copyright (c) 2022 Bruce A Henderson
+  Copyright (c) 2022-2025 Bruce A Henderson
  
   Permission is hereby granted, free of charge, to any person obtaining a copy
   of this software and associated documentation files (the "Software"), to deal
@@ -27,9 +27,9 @@
 
 #include "brl.mod/blitz.mod/blitz.h"
 
-extern int image_ilbm_TIlbmIoCallbacks__Read(BBObject * cb, char * data,int size);
-extern int image_ilbm_TIlbmIoCallbacks__Write(BBObject * cb, char * data,int size);
-extern int image_ilbm_TIlbmIoCallbacks__Eof(BBObject * cb);
+extern int image_ilbm_TIlbmIoCallbacks__Read(void * cb, char * data,int size);
+extern int image_ilbm_TIlbmIoCallbacks__Write(void * cb, char * data,int size);
+extern int image_ilbm_TIlbmIoCallbacks__Eof(void * cb);
 
 IFF_Chunk * bmx_ilbm_load_iff(BBObject * cb) {
 

+ 4 - 3
ilbm.mod/ilbm.bmx

@@ -1,4 +1,4 @@
-' Copyright (c) 2022 Bruce A Henderson
+' Copyright (c) 2022-2025 Bruce A Henderson
 ' 
 ' Permission is hereby granted, free of charge, to any person obtaining a copy
 ' of this software and associated documentation files (the "Software"), to deal
@@ -27,12 +27,13 @@ The ILBM loader module provides the ability to load ILBM format #pixmaps.
 End Rem
 Module Image.ILBM
 
-ModuleInfo "Version: 1.00"
+ModuleInfo "Version: 1.01"
 ModuleInfo "License: MIT"
 ModuleInfo "Copyright: libiff/libilbm/libamivideo - 2012 Sander van der Burg"
 ModuleInfo "Copyright: sdl ilbm image - 2012 Sander van der Burg & 2014 Roman Hiestand"
-ModuleInfo "Copyright: Wrapper - 2022 Bruce A Henderson"
+ModuleInfo "Copyright: Wrapper - 2022-2025 Bruce A Henderson"
 
+ModuleInfo "History: 1.01 Fixed compilation error."
 ModuleInfo "History: 1.00 Initial Release"
 
 Import BRL.Pixmap

+ 1 - 1
ilbm.mod/source.bmx

@@ -1,4 +1,4 @@
-' Copyright (c) 2022 Bruce A Henderson
+' Copyright (c) 2022-2025 Bruce A Henderson
 ' 
 ' Permission is hereby granted, free of charge, to any person obtaining a copy
 ' of this software and associated documentation files (the "Software"), to deal