Use dos.library/CreateNewProc() instead of alib/CreateNewProcTags()
[tangerine.git] / compiler / alib / dodtmethod.c
bloba94eb0f066911e1d4bd3ce42abcd9470d82dcf6a
1 /*
2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #ifndef INTUITION_CLASSUSR_H
7 # include <intuition/classusr.h>
8 #endif
9 #include "alib_intern.h"
10 #define NO_INLINE_STDARG /* turn off inline def */
11 #include <proto/alib.h>
13 extern struct Library * DataTypesBase;
15 /*****************************************************************************
17 NAME */
18 #include <proto/datatypes.h>
20 IPTR DoDTMethod (
22 /* SYNOPSIS */
23 Object * obj,
24 struct Window * win,
25 struct Requester * req,
26 ULONG methodId,
27 ...)
29 /* FUNCTION
30 Invokes a boopsi method on a datatype object with a GadgetInfo derived from
31 the supplied window or requester parameter.
33 INPUTS
34 gad - The datatype object to work on
35 win - The window which contains the gadget or the requester with
36 the gadgets.
37 req - If the gadget is in a requester, you must specify that one,
38 too.
39 methodId - The message to the gadget follows here.
41 RESULT
42 The result depends on the contents of the message sent to the
43 gadget.
45 NOTES
47 EXAMPLE
49 BUGS
51 SEE ALSO
53 INTERNALS
55 HISTORY
56 29-10-95 digulla automatically created from
57 intuition_lib.fd and clib/intuition_protos.h
58 25-10-96 calid submitted the code
60 *****************************************************************************/
62 AROS_SLOWSTACKMETHODS_PRE(methodId)
63 retval = DoDTMethodA (obj
64 , win
65 , req
66 , AROS_SLOWSTACKMETHODS_ARG(methodId)
68 AROS_SLOWSTACKMETHODS_POST
69 } /* DoDTMethod */