~zorba-coders/zorba/remove-xqdoc-modules

« back to all changes in this revision

Viewing changes to src/functions/function.h

  • Committer: Zorba Jenkins
  • Author(s): Markos Zaharioudakis
  • Date: 2013-09-20 12:43:28 UTC
  • mfrom: (11539.1.46 threads)
  • Revision ID: jenkins@lambda.nu-20130920124328-1hng4clw56ti0r21
More multi-threading work:
1. Function objects for builtin functions should not use any non-builtin types in their signature.
2. XQType does not inherit from RCObject anymore; instead it replicates RCObject functionalityinternally 

Approved: Markos Zaharioudakis

Show diffs side-by-side

added added

removed removed

Lines of Context:
48
48
  The root sctx of the module containing the declaration. It is NULL for 
49
49
  functions that must be executed in the static context of the caller.
50
50
********************************************************************************/
51
 
#if defined NDEBUG || defined ZORBA_FOR_ONE_THREAD_ONLY
52
51
class function : public SimpleRCObject
53
 
#else
54
 
class function : public SyncedRCObject
55
 
#endif
56
52
{
57
53
protected:
58
54
        signature                    theSignature;
66
62
 
67
63
public:
68
64
  SERIALIZABLE_CLASS(function);
69
 
#if defined NDEBUG || defined ZORBA_FOR_ONE_THREAD_ONLY
70
65
  SERIALIZABLE_CLASS_CONSTRUCTOR3(function, SimpleRCObject, theSignature);
71
 
#else
72
 
  SERIALIZABLE_CLASS_CONSTRUCTOR3(function, SyncedRCObject, theSignature);
73
 
#endif
74
66
  void serialize(::zorba::serialization::Archiver& ar);
75
67
 
76
68
public: