Sunday, July 18, 2010

Working Note

  1. added bof_thread.h to /src/libjasper/include/jasper
  2. added bof_thread.h to libjasperinclude_HEADERS = \... in the Make file /src/libjasper/include/jasper
  3. moved #include to the jasper.h
  4. undo step 1-3, remove bof_thread.h
  5. added the linkedList struct and functions to the jas_malloc.h
  6. implemented the function body in the jas_malloc.c
  7. The imgcmp is using the jasper_seq.c as well, so if the linkedlist is available jasper.c and jasper_seq.c, it will cause the problem in compiling in the imgcmp.c, therefore, the variable and functions for the linkedlist are defined in the jasper_malloc.c which is available for both jasper.c and imgcmp.c
  8. extern for the variable
  • file A - the host, host the variable name and store its value
int global;
  • file B - the one uses the variable in file A - to read and write
extern int global;

No comments:

Post a Comment