#include <Var7c.d>
#include <__oo2c.h>
#include <setjmp.h>

static OOC_INT16 Var7c__Len(const OOC_CHAR8 str__ref[], OOC_LEN str_0d) {
  register OOC_INT32 i0,i1;
  OOC_ALLOCATE_VPAR(str,OOC_CHAR8 ,str_0d)

  OOC_INITIALIZE_VPAR(str__ref,str,OOC_CHAR8 ,str_0d)
  i0=(-1);
l1_loop:
  i0 = i0+1;
  i1 = *(OOC_UINT8*)((OOC_INT32)str+(_check_index(i0, str_0d, OOC_UINT16, 201)));
  i1 = i1==0u;
  if (!i1) goto l1_loop;
l5:
  return i0;
  ;
}

void Var7c__Test(void) {
  register OOC_INT32 i0;

  i0 = Var7c__Len((OOC_CHAR8*)"", 1);
  Out0__Int(i0, 0);
  Out0__Ln();
  i0 = Var7c__Len((OOC_CHAR8*)"abc", 4);
  Out0__Int(i0, 0);
  Out0__Ln();
  return;
  ;
}

void OOC_Var7c_init(void) {

  return;
  ;
}

void OOC_Var7c_destroy(void) {
}

/* --- */
