Changeset 4409 for libcaca


Ignore:
Timestamp:
Jun 21, 2010, 8:09:23 PM (9 years ago)
Author:
Alex Foulon
Message:
  • Rename cv variable to pointer.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/python/caca/canvas.py

    r4408 r4409  
    6262            width   -- the desired canvas width
    6363            height  -- the desired canvas height
    64             cv      -- pointer to libcaca canvas
     64            pointer -- pointer to libcaca canvas
    6565        """
    6666        _lib.caca_create_canvas.argtypes = [ctypes.c_int, ctypes.c_int]
    6767
    68         if cv is not None:
     68        if pointer is not None:
    6969            self._cv = _lib.caca_create_canvas(width, height)
    7070            if self._cv == 0:
    7171                raise CanvasError, "Failed to create canvas"
    7272        else:
    73             self._cv = cv
     73            self._cv = pointer
    7474
    7575    def manage(self, *args, **kw):
Note: See TracChangeset for help on using the changeset viewer.