¥È¥Ã¥× «Á°¤ÎÆüµ­(2006-04-19) ºÇ¿· ¼¡¤ÎÆüµ­(2006-04-21)» ÊÔ½¸

¤Ï¤¸¤á¤Æ¤Î¤Ë¤­

¤³¤³¤Î°ÌÃÖÉÕ¤±

2004|11|
2005|03|04|05|06|07|08|09|10|11|12|
2006|01|02|03|04|05|06|07|08|09|10|11|12|
2007|01|02|03|04|05|06|07|08|09|10|11|12|
2008|01|02|03|04|05|06|07|08|09|10|11|12|
2009|01|02|03|04|05|06|07|08|09|10|11|12|
2010|01|02|03|04|05|06|07|08|09|10|11|12|
2011|01|02|03|04|05|06|07|08|09|10|11|12|
2012|01|02|03|04|05|06|07|08|09|10|11|12|
2013|01|02|03|04|05|06|07|08|09|10|11|12|
2014|01|02|03|04|05|06|07|08|09|10|11|12|
2015|01|02|03|04|05|06|07|08|09|10|11|12|
2016|01|02|03|04|05|06|07|08|09|10|11|12|
2017|01|02|03|04|05|06|07|08|09|10|11|12|
2018|01|02|03|04|05|06|07|08|09|10|11|12|
2019|01|02|03|04|05|06|07|08|09|10|11|12|
2020|01|02|03|04|05|06|07|08|09|10|11|12|
2021|01|02|03|04|05|06|07|08|09|10|11|12|
2022|01|02|03|04|05|06|07|08|09|10|11|12|
2023|01|02|03|04|05|06|07|08|09|10|11|12|
2024|01|02|03|04|05|06|07|08|09|10|11|

ToDo:


2006-04-20

_ ÆâÄê

¤Þ¤¡ÉáÄ̤˥¦¥Þ¤¤ÏäÀ¤è¤Ê¤¢¡Ä

(04:14)

_ testsprite.boo

Windows ¤Ç¤âÆ°¤¤¤¿¡£ ÌäÂêÅÀ¤Þ¤È¤á¡£

  • SdlDotNet.dll ¤Î Surface..ctor ¤Î¥¢¥¯¥»¥¹À©¸Â¡£ mono ¤è¤ê¥Û¥ó¥Þ¥â¥Î¤ÎÊý¤¬¸·¤·¤¤¡¢¤È¤¤¤¦¤«¤Á¤ã¤ó¤È¤ä¤Ã¤Æ¤¤¤ë¡£
  • SDL_Image ¤¬¥í¡¼¥É¤Ç¤­¤Ê¤¤¡£
  • SDL ¤À¤±¤Ç¤¤¤¸¤ë¤Ë¤Ï struct ¤È¤«¤Î½èÍý¤Ë¤Ä¤¤¤ÆÃΤé¤Ê¤µ¤¹¤®¤ë¡£

(04:16)

_ ¥²¡¼¥à¥µ¡¼¥Ð

˺¤ì¤Ê¤¤¤¦¤Á¤Ë¡£

̵¤·¡¢¥ê¥×¥ì¥¤¸¡Æ¤¡¢»þ¹ïƱ´ü¡¢Íð¿ôÅϤ·¡¢ ¥¯¥í¡¼¥º¥É¥â¥¸¥å¡¼¥ëÅϤ·¡¢¥Ï¡¼¥É¥¦¥§¥¢ÇÛÉÛ¡£

(04:17)

_ ruby25ru - callonce.rb

http://d.hatena.ne.jp/rubyca/20060419/1145459336

Î㤨¤Ð¡£

class MethodCallingError < StandardError; end
module CallOnce
  def self.included(cname)
    set_trace_func proc{|event, file, line, id, binding, klass|
      return if cname != klass
      return if event !~ /call/
      def klass._define_method(id, &p)
        define_method(id, p)
      end
      klass._define_method(id) do
        raise "#{id} called twice"
      end
    }
  end

end

class C
  def f
    p "func"
  end
  def f2
    p "func2"
  end
end

c = C.new
c.f
c.f2
c.f

class C
  include CallOnce
end

puts "OK, let's forget."
c.f
c.f2
c.f

def klass._define_method ¤¬¤À¤µ¤¤¡£

(19:15)

_ ruby25ru - callonce (2)

Ê̤ˤ³¤ì¤Ç¤¤¤¤¤Î¤«¡£

set_trace_func proc{|event, file, line, id, binding, klass|
  return if cname != klass
  return if event !~ /call/
  klass.send(:define_method, id) do
    raise "#{id} called twice"
  end
}

¤â¤Á¤í¤óÆóÅÙÌÜ¤Ë include ¤µ¤ì¤¿¾ì¹ç¤Î½èÍý¤È¤«¤·¤Æ¤Ê¤¤¤Î¤Ç¡¢ ¤Þ¤¡¤½¤Î¤Ø¤ó¤ÏŬÅö¤Ë¡£

(19:19)

_ sdmkun memo

util.h problem by ³°¿Í¡£

(22:02)

¤ªÌ¾Á°:
E-mail:
¥³¥á¥ó¥È:
¿ÍÀ¸¡¢±§Ãè¡¢¤¹¤Ù¤Æ¤ÎÅú¤¨
ËÜÆü¤Î¥ê¥ó¥¯¸µ

Á° 2006ǯ
4·î
¼¡
Æü ·î ²Ð ¿å ÌÚ ¶â ÅÚ
1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30
1.shinh(2006-04-26 22:42) 2.shinh(2006-04-26 22:34) 3.shinh(2006-04-26 22:33)
search / home / index

Á´¤Æ¥ê¥ó¥¯¥Õ¥ê¡¼¤Ç¤¹¡£ ¥³¡¼¥ÉÊҤϼ«Í³¤Ë»ÈÍѤ·¤Æ¤¤¤¿¤À¤¤¤Æ¹½¤¤¤Þ¤»¤ó¡£ ¤½¤Î¾¤Î¤â¤Î¤ÏGPL°·¤¤¤Ç¤¢¤ì¤Ð¤¢¤é¤æ¤ë»ÈÍѤ˴ؤ·¤Æʸ¶ç¤Ï¸À¤¤¤Þ¤»¤ó¡£ ¤Ê¤Ë¤«¤¢¤ì¤Ð²¼µ­¥á¡¼¥ë¥¢¥É¥ì¥¹¤Ø¡£

shinichiro.hamaji _at_ gmail.com / shinichiro.h