2016-04-21 15:19:32 +03:00
|
|
|
// vim: set filetype=c :
|
|
|
|
//
|
|
|
|
// delegates.h:
|
|
|
|
//
|
|
|
|
// Authors:
|
|
|
|
// Rolf Bjarne Kvinge <rolf@xamarin.com>
|
|
|
|
//
|
|
|
|
// Copyright 2013-2014 Xamarin Inc.
|
|
|
|
//
|
|
|
|
<#@ include file="delegates.t4" #>
|
|
|
|
|
|
|
|
#ifndef __DELAGATES_H__
|
|
|
|
#define __DELAGATES_H__
|
|
|
|
|
|
|
|
#include "xamarin/xamarin.h"
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2018-02-02 20:20:58 +03:00
|
|
|
<# foreach (var d in delegates) {
|
|
|
|
if (!d.OnlyDynamicUsage)
|
|
|
|
continue;
|
|
|
|
#>
|
2020-05-04 12:08:25 +03:00
|
|
|
<#= d.ReturnType.ExposedCType #>
|
|
|
|
<#= d.EntryPoint #> (<#= d.CArgumentSignatureExposed #>);
|
2016-04-21 15:19:32 +03:00
|
|
|
|
|
|
|
<# } #>
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern "C" */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif /* __DELAGATES_H__ */
|