view test/bug-64620/cdef_counts_self.m @ 33608:5fba13104493 bytecode-interpreter tip

maint: merge default to bytecode-interpreter.
author Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
date Sat, 18 May 2024 22:40:00 -0400
parents 8e4f14837db2
children
line wrap: on
line source

classdef cdef_counts_self < handle
  methods
    function obj = cdef_counts_self ()
      global cdef_alive_objects_cntr = 0;
      cdef_alive_objects_cntr++;
    end
    function delete (self)
      global cdef_alive_objects_cntr = 0;
      cdef_alive_objects_cntr--;
    end
  end
end