Skip to content

Commit

Permalink
src/libical/byref.c - cleaning
Browse files Browse the repository at this point in the history
  • Loading branch information
winterz committed Nov 24, 2024
1 parent 3f725aa commit e0b57ee
Showing 1 changed file with 5 additions and 12 deletions.
17 changes: 5 additions & 12 deletions src/libical/byref.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
// There are multiple languages that only support pointers but not structures directly as interop.
// This file functions as a mapper to oversee this.

/*======================================================================
FILE: byref.c
CREATOR: Siam.Smeets 18 Nov 24
Expand All @@ -11,28 +8,24 @@
======================================================================*/

// There are multiple languages that only support pointers but not structures directly as interop.
// This file functions as a mapper to oversee this.

/**
* @file byref.c
* @brief A set of function wrappers to handle non-structured return type interop.
*
* Not all programming languages managed or not have support for c-structured return types.
* To allow interop with these programming languages this file, over time, will contain wrapper functions,
* That wrap the return type to a "byref" or pointer variable which is used as output.
*/
*/

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#include "icalcomponent.h"
#include "icaltime.h"
#include "astime.h"
#include "icalerror.h"
#include "icalmemory.h"
#include "icaltimezone.h"

#include <ctype.h>
#include <stdlib.h>

/** @brief Convenience constructor (ret-wrapped)
*
* @returns The current time in the given timezone, as an icaltimetype, in the last parameter.
Expand Down

0 comments on commit e0b57ee

Please sign in to comment.