yosys-master
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
RTLIL::IdString::char_ptr_cmp Struct Reference

#include <rtlil.h>

Public Member Functions

bool operator() (const char *a, const char *b) const
 

Detailed Description

Definition at line 79 of file rtlil.h.

Member Function Documentation

bool RTLIL::IdString::char_ptr_cmp::operator() ( const char *  a,
const char *  b 
) const
inline

Definition at line 80 of file rtlil.h.

80  {
81  for (int i = 0; a[i] || b[i]; i++)
82  if (a[i] != b[i])
83  return a[i] < b[i];
84  return false;
85  }

The documentation for this struct was generated from the following file: