--Multipart_Thu_Dec__5_16:57:35_2002-1
Content-Type: text/plain; charset=ISO-2022-JP

なかだです。

At Mon, 18 Nov 2002 15:13:58 +0900,
Nobuyoshi-Nakada wrote:
> > まず、alias関係はなくしてしまったほうが分かりやすいかも。
> > aliasが絡むときには、まずaliasを作ってからdeprecateするとい
> > うことで。
> 
> たしかに、結局使ってないですし。
> 
> > あと、Cレベルでrb_deprecateは直接見えないほうが良いのではな
> > いかと思います。見えるにしてももうちょっと長たらしい名前にす
> > るとか。
> 
> これも直接は使わないのでなしでいいのかなぁ。つけるとすれば
> rb_deprecate_method_id()あたり?

忘れるところでしたが、rb_deprecated_alias()はなしにして、関数名
は以下のようにしました。

void rb_warn_deprecated _((VALUE, const char*, const char*, int));
void rb_deprecate_method_id _((VALUE, ID, ID, int));
void rb_deprecate_method _((VALUE, const char*, const char*, int));

あとrb_call()の引数scopeも、即値だとつらくなってきたので名前を
つけてみましたが、だいたいこんな感じであってるでしょうか。

#define CALLED_METHOD 0
#define CALLED_FCALL  1
#define CALLED_VCALL  2
#define CALLED_SUPER  3
#define CALLED_DIRECT 4



--Multipart_Thu_Dec__5_16:57:35_2002-1
Content-Type: text/x-diff; type=gzip; charset=US-ASCII
Content-Disposition: attachment; filename="deprecate.diff.gz"
Content-Transfer-Encoding: base64

H4sIAAAAAAACA807f3fbRo5/y59iqr74KItqSOq3vGnWZ8ut3zmyn6xkt3t3j0tRI5uNROpI
SYm3zX72BTBDciiSku10885tLGoIYAAMgAFm4Ct/xj8PmBOGzuMP7tGbr/85Gp/fsbm34AP2
2t1Gr8PN9PF1FLriQU6kb49Cvg49vvX8exbCR+QFPjN/6PePZt58zhob1rBYY8UaV6MJ/LL/
cjVqwkCIIAm7jUYjfq5YFhsFW2YZhsWM/sBsDWCkYcBPhcjW6/UUtpvCWs2B0R4YfQF79Oc/
s0bHNPQOq+NHi8FAOLWd8NH2UFc80pzw3tWB1v0Wfz/Wjhj+LAKQxDs9YkcN/Ao4n5zQ16pn
OOf3ry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b8RM+AAA-Multipart_Thu_Dec__5_16:57:35_2002-1
Content-Type: text/plain; charset=ISO-2022-JP


-- 
--- 僕の前にBugはない。
--- 僕の後ろにBugはできる。
    中田 伸悦

--Multipart_Thu_Dec__5_16:57:35_2002-1--