Subversion Repositories HelenOS-historic

Rev

Rev 1078 | Rev 1708 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1078 Rev 1124
Line 37... Line 37...
37
 * referenced by fptr pointer.
37
 * referenced by fptr pointer.
38
 *
38
 *
39
 * @param fptr Function pointer.
39
 * @param fptr Function pointer.
40
 *
40
 *
41
 */
41
 */
42
static inline __address FADDR(void (* fptr)()) {
-
 
43
    __address faddr;
-
 
44
 
-
 
45
    faddr = *((__address *)(fptr));;
42
#define FADDR(f)     (*((__address *)(f)));
46
    return faddr;
-
 
47
}
-
 
48
 
43
 
49
#endif
44
#endif