delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/07/09/11:46:40

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: <tparvine.836909964@niksula.hut.fi>
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019