![]() ![]() | ![]() |
1.1 ! misho 1: /* 7zMethodID.c */ ! 2: ! 3: #include "7zMethodID.h" ! 4: ! 5: int AreMethodsEqual(CMethodID *a1, CMethodID *a2) ! 6: { ! 7: int i; ! 8: if (a1->IDSize != a2->IDSize) ! 9: return 0; ! 10: for (i = 0; i < a1->IDSize; i++) ! 11: if (a1->ID[i] != a2->ID[i]) ! 12: return 0; ! 13: return 1; ! 14: }