← Back to team overview

kicad-developers team mailing list archive

[PATCH] Update comments (ElectricPinType -> ELECTRICAL_PINTYPE)

 

---
 eeschema/lib_pin.cpp | 4 ++--
 eeschema/lib_pin.h   | 6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/eeschema/lib_pin.cpp b/eeschema/lib_pin.cpp
index 85ae347..bbf7819 100644
--- a/eeschema/lib_pin.cpp
+++ b/eeschema/lib_pin.cpp
@@ -103,7 +103,7 @@ static const int pin_style_codes[] =
 #define PIN_STYLE_CNT DIM( pin_style_codes )
 
 // bitmaps to show pins electrical type in dialog editor
-// must have same order than enum ElectricPinType (see lib_pin.h)
+// must have same order than enum ELECTRICAL_PINTYPE (see lib_pin.h)
 static const BITMAP_DEF iconsPinsElectricalType[] =
 {
     pintype_input_xpm,
@@ -127,7 +127,7 @@ const wxString LIB_PIN::GetCanonicalElectricalTypeName( unsigned aType )
     // These strings are the canonical name of the electrictal type
     // Not translated, no space in name, only ASCII chars.
     // to use when the string name must be known and well defined
-    // must have same order than enum ElectricPinType (see lib_pin.h)
+    // must have same order than enum ELECTRICAL_PINTYPE (see lib_pin.h)
     static const wxChar* msgPinElectricType[] =
     {
         wxT( "input" ),
diff --git a/eeschema/lib_pin.h b/eeschema/lib_pin.h
index 44efea0..15d5412 100644
--- a/eeschema/lib_pin.h
+++ b/eeschema/lib_pin.h
@@ -277,14 +277,14 @@ public:
     /**
      * Get the electrical type of the pin.
      *
-     * @return The electrical type of the pin (see enun ElectricPinType for values).
+     * @return The electrical type of the pin (see enum ELECTRICAL_PINTYPE for values).
      */
     ELECTRICAL_PINTYPE GetType() const { return m_type; }
 
     /**
      * return a string giving the electrical type of a pin.
      * Can be used when a known, not translated name is needed (for instance in net lists)
-     * @param aType is the electrical type (see enum ElectricPinType )
+     * @param aType is the electrical type (see enum ELECTRICAL_PINTYPE )
      * @return The electrical name for a pin type (see enun MsgPinElectricType for names).
      */
     static const wxString GetCanonicalElectricalTypeName( unsigned aType );
@@ -301,7 +301,7 @@ public:
 
     /**
      * return a translated string for messages giving the electrical type of a pin.
-     * @param aType is the electrical type (see enum ElectricPinType )
+     * @param aType is the electrical type (see enum ELECTRICAL_PINTYPE )
      * @return The electrical name of the pin (see enun MsgPinElectricType for names).
      */
     static const wxString GetElectricalTypeName( unsigned aType );