extern void findFromBSON(void *theEnv, DATA_OBJECT_PTR returnValuePtr);
Additional information might be helpful.
2012/4/21 mayank gupta <sharpsp...@gmail.com>:
> --
> You received this message because you are subscribed to the Google Groups
> "CLIPSESG" group.
> To post to this group, send email to CLIP...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/CLIPSESG?hl=en
>
> --> IF YOU NO LONGER WANT TO RECEIVE EMAIL <--
> Visit this group at http://groups.google.com/group/CLIPSESG?hl=en
> Click on "Edit my membership" link.
> Select the "No Email" radio button.
> Click the "Save these settings" button.
>
> --> IF YOU WANT TO UNSUBSCRIBE <--
> Visit this group at http://groups.google.com/group/CLIPSESG?hl=en
> Sign in
> Click on "Edit my membership" link.
> Click the "Unsubscribe" button.
> Note: This appears to be the most reliable way to unsubscribe
>
> Alternately, send email to CLIPSESG-u...@googlegroups.com. You will
> receive an email which you must respond to as well to unsubscribe. Clicking
> the link mentioned in the unsubscribe reply does not appear to work
> reliably.
With regard to the environment argument: yes, you need to define it
even though you won't use it.
CLIPS expects you to accept it. You should look into simple examples,
such as AbsFunction, IntegerFunction, etc.
I advice you to add it to your existing functions as well.
I have two related questions:
- How do you inspect the arguments functions without using the environment?
- And are you sure you don't know the return type of your
findFromBSON function? If it is an external pointer, you can define
(DefineFunction2) your function to return CLIPS type "a" which allows
you to easily return a void* to your data structure (without having to
manually set the DATA_OBJECT_PTR).
2012/4/22 mayank gupta <sharpsp...@gmail.com>: