Xref: news2.mv.net comp.os.msdos.djgpp:5770 From: tparvine AT niksula DOT hut DOT fi (Tero Lauri Juhani Parvinen) Newsgroups: comp.os.msdos.djgpp Subject: How to write ASM member functions? Date: 9 Jul 96 10:59:24 GMT Organization: Helsinki University of Technology, CS lab Lines: 17 Distribution: world Message-ID: NNTP-Posting-Host: frisbee.cs.hut.fi NNTP-Posting-User: tparvine To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Can I write a classes member functions in asm? I would like to define them in a .S file, not inline. The obvious problem is that I can't just define the function like _function (C-style). I looked at some .o files and found something like _func__5MyClass_iiPc... I think the iiPc means that the parameters are int, int, *char, but what about that weird 5? Is there a simpler way to do this or does someone know what the number stands for? Please reply by e-mail (tero DOT parvinen AT hut DOT fi). Thanks in advance. -- -- Tero Parvinen Tero DOT Parvinen AT hut DOT fi