Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Blame | Last modification | View Log | RSS feed

  1. // The functions contained in this file are pretty dummy
  2. // and are included only as a placeholder. Nevertheless,
  3. // they *will* get included in the static library if you
  4. // don't remove them :)
  5. //
  6. // Obviously, you 'll have to write yourself the super-duper
  7. // functions to include in the resulting library...
  8. // Also, it's not necessary to write every function in this file.
  9. // Feel free to add more files in this project. They will be
  10. // included in the resulting library.
  11.  
  12. // A function adding two integers and returning the result
  13. int SampleAddInt(int i1, int i2)
  14. {
  15.     return i1 + i2;
  16. }
  17.  
  18. // A function doing nothing ;)
  19. void SampleFunction1()
  20. {
  21.     // insert code here
  22. }
  23.  
  24. // A function always returning zero
  25. int SampleFunction2()
  26. {
  27.     // insert code here
  28.    
  29.     return 0;
  30. }
  31.