Skip to content

Commit

Permalink
Move typedef ObjFunc to system.h
Browse files Browse the repository at this point in the history
  • Loading branch information
fingolfin authored and ChrisJefferson committed Dec 8, 2017
1 parent 26d8699 commit 228e02d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/calls.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,6 @@
#include <src/integer.h>


/****************************************************************************
**
*T ObjFunc . . . . . . . . . . . . . . . . type of function returning object
**
** 'ObjFunc' is the type of a function returning an object.
*/
typedef Obj (* ObjFunc) (/*arguments*/);

typedef Obj (* ObjFunc_0ARGS) (Obj self);
typedef Obj (* ObjFunc_1ARGS) (Obj self, Obj a1);
typedef Obj (* ObjFunc_2ARGS) (Obj self, Obj a1, Obj a2);
Expand Down
9 changes: 9 additions & 0 deletions src/system.h
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,15 @@ typedef UInt * * Bag;
typedef Bag Obj;


/****************************************************************************
**
*T ObjFunc . . . . . . . . . . . . . . . . type of function returning object
**
** 'ObjFunc' is the type of a function returning an object.
*/
typedef Obj (* ObjFunc) (/*arguments*/);


/****************************************************************************
**
*T Stat . . . . . . . . . . . . . . . . . . . . . . . . type of statements
Expand Down

0 comments on commit 228e02d

Please sign in to comment.