Skip to content

Instantly share code, notes, and snippets.

View tralamazza's full-sized avatar

Daniel Tralamazza tralamazza

View GitHub Profile
//
// Copyright (c) 2022 Kris Jusiak (kris at jusiak dot net)
//
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
//
// Usage
// #![feature(specialization)]
// #![allow(incomplete_features)]
@tralamazza
tralamazza / cdc.rb
Last active December 23, 2015 18:29 — forked from corecode/cdc.rb
class CDCDesc < FunctionDesc
TypeName = "struct cdc_function_desc"
FunctionVarName = "cdc_function"
child_block :cdc
def initialize
super()
@ctrl_iface = interface(:ctrl_iface) {